vagrant@vagrant-ubuntu-trusty-64:/vagrant/data/samples$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/malice/samples -e MALICE_VT_API=$MALICE_VT_API malice/engine -D scan 04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f
DEBU[0000] Malice config loaded from /malice/config.toml
DEBU[0000] Malice plugins loaded from /malice/plugins.toml
DEBU[0000] Malice Version: 0.1.0-alpha, build HEAD
ERRO[0000] Unable to parse endpoint:
DEBU[0000] Connected to docker daemon with docker-machine ip= port=
DEBU[0000] Searching for container: rethink env=development
DEBU[0000] name: rethink container.Name: modest_mcclintock
DEBU[0000] MATCH: false
DEBU[0000] name: rethink container.Name: rethink
DEBU[0000] MATCH: true
DEBU[0000] Container FOUND: rethink env=development
DEBU[0000] Attempting to connect to: rethink:28015
DEBU[0000] Attempting to connect to: 172.17.0.3:28015
DEBU[0000] Attempting to connect to: 172.17.0.3:28015
DEBU[0000] gorethink: Database `test` does not exist. in:
r.DBDrop("test")
DEBU[0000] gorethink: Database `malice` already exists. in:
r.DBCreate("malice")
DEBU[0000] gorethink: Table `malice.samples` already exists. in:
r.DB("malice").TableCreate("samples")
DEBU[0000] Searching for image: malice/virustotal env=development
DEBU[0000] Image FOUND: malice/virustotal env=development
DEBU[0000] Searching for image: malice/shadow-server env=development
DEBU[0000] Image FOUND: malice/shadow-server env=development
DEBU[0000] Searching for image: malice/fileinfo env=development
DEBU[0000] Image FOUND: malice/fileinfo env=development
DEBU[0000] Searching for image: malice/yara env=development
DEBU[0000] Image FOUND: malice/yara env=development
DEBU[0000] Searching for image: malice/avast env=development
DEBU[0000] Image FOUND: malice/avast env=development
DEBU[0000] Searching for image: malice/avg env=development
DEBU[0000] Image FOUND: malice/avg env=development
DEBU[0000] Searching for image: malice/bitdefender env=development
DEBU[0000] Image FOUND: malice/bitdefender env=development
DEBU[0000] Searching for image: malice/clamav env=development
DEBU[0000] Image FOUND: malice/clamav env=development
DEBU[0000] Searching for image: malice/comodo env=development
DEBU[0000] Image FOUND: malice/comodo env=development
DEBU[0000] Searching for image: malice/fprot env=development
DEBU[0000] Image FOUND: malice/fprot env=development
DEBU[0000] Searching for image: malice/floss env=development
DEBU[0000] Image FOUND: malice/floss env=development
DEBU[0000] All enabled plugins are installed.
#### File
| Field | Value |
| ------ | ---------------------------------------------------------------- |
| Name | 04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f |
| Path | 04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f |
| Size | 1.167 MB |
| MD5 | 4971104db8e7b6437a037f868e089970 |
| SHA1 | dffaf052c2fb8f5a7fbba0a0af41454c3a4f5cf0 |
| SHA256 | 04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f |
| Mime | application/octet-stream |
DEBU[0000] Searching for Network: malice env=development
DEBU[0000] Network FOUND: malice env=development
DEBU[0000] Searching for volume: malice env=development
DEBU[0000] Volume FOUND: malice env=development
DEBU[0000] Volume malice found.
DEBU[0000] Searching for container: copy2volume env=development
DEBU[0000] name: copy2volume container.Name: modest_mcclintock
DEBU[0000] MATCH: false
DEBU[0000] name: copy2volume container.Name: rethink
DEBU[0000] MATCH: false
DEBU[0000] Container NOT Found: copy2volume env=development
DEBU[0000] Searching for image: busybox env=development
DEBU[0000] Image FOUND: busybox env=development
DEBU[0000] Image `busybox` already pulled. env=development exisits=true
DEBU[0001] First statContainerPath call.
SampledsDir=/malice/samples
container.Name=/copy2volume
dstInfo={Path:/malice/04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f Exists:false IsDir:false RebaseName:}
dstStat={Name: Size:0 Mode:---------- Mtime:0001-01-01 00:00:00 +0000 UTC LinkTarget:}
file.Path=04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f
volSavePath=/malice/04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f
ERRO[0001] "lstat /04beed90f6a7762d84a455f8855567906de079f48ddaabe311a6a281e90bd36f: no such file or directory"
goroutine 1 [running]:
github.com/maliceio/malice/malice/errors.CheckErrorWithMessage(0x7f47a31a6b38, 0xc8201aa2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc8201aa2a0)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:24 +0x96
github.com/maliceio/malice/malice/errors.CheckError(0x7f47a31a6b38, 0xc8201aa2a0, 0x0)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:12 +0x48
github.com/maliceio/malice/malice/maldocker.(*Docker).CopyToVolume(0xc8203228d0, 0x7ffc01e4bf1d, 0x40, 0x7ffc01e4bf1d, 0x40, 0xc82037e658, 0x8, 0xc820394b40, 0x20, 0xc8203226f0, ...)
/go/src/github.com/maliceio/malice/malice/maldocker/volume.go:118 +0xf4f
github.com/maliceio/malice/commands.cmdScan(0x7ffc01e4bf1d, 0x40, 0x0, 0x0, 0x0)
/go/src/github.com/maliceio/malice/commands/scan.go:63 +0x78c
github.com/maliceio/malice/commands.glob.func1(0xc82030ca00, 0x0, 0x0)
/go/src/github.com/maliceio/malice/commands/commands.go:25 +0x151
reflect.Value.call(0x9f5c40, 0xd37fb0, 0x13, 0xbddeb8, 0x4, 0xc8204d7470, 0x1, 0x1, 0x0, 0x0, ...)
/usr/lib/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x9f5c40, 0xd37fb0, 0x13, 0xc8204d7470, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/lib/go/src/reflect/value.go:303 +0xb1
github.com/maliceio/malice/vendor/github.com/urfave/cli.HandleAction(0x9f5c40, 0xd37fb0, 0xc82030ca00, 0x0, 0x0)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/app.go:480 +0x2ee
github.com/maliceio/malice/vendor/github.com/urfave/cli.Command.Run(0xbe5ed8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xbf1900, 0xb, 0x0, ...)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/command.go:186 +0x1301
github.com/maliceio/malice/vendor/github.com/urfave/cli.(*App).Run(0xc820386000, 0xc8200660c0, 0x4, 0x4, 0x0, 0x0)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/app.go:236 +0xa9c
main.main()
/go/src/github.com/maliceio/malice/main.go:76 +0x467
ERRO[0001] "lstat : no such file or directory"
goroutine 1 [running]:
github.com/maliceio/malice/malice/errors.CheckErrorWithMessage(0x7f47a31a6b38, 0xc8201aa300, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc8201aa300)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:24 +0x96
github.com/maliceio/malice/malice/errors.CheckError(0x7f47a31a6b38, 0xc8201aa300, 0x0)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:12 +0x48
github.com/maliceio/malice/malice/maldocker.(*Docker).CopyToVolume(0xc8203228d0, 0x7ffc01e4bf1d, 0x40, 0x7ffc01e4bf1d, 0x40, 0xc82037e658, 0x8, 0xc820394b40, 0x20, 0xc8203226f0, ...)
/go/src/github.com/maliceio/malice/malice/maldocker/volume.go:121 +0xfe1
github.com/maliceio/malice/commands.cmdScan(0x7ffc01e4bf1d, 0x40, 0x0, 0x0, 0x0)
/go/src/github.com/maliceio/malice/commands/scan.go:63 +0x78c
github.com/maliceio/malice/commands.glob.func1(0xc82030ca00, 0x0, 0x0)
/go/src/github.com/maliceio/malice/commands/commands.go:25 +0x151
reflect.Value.call(0x9f5c40, 0xd37fb0, 0x13, 0xbddeb8, 0x4, 0xc8204d7470, 0x1, 0x1, 0x0, 0x0, ...)
/usr/lib/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x9f5c40, 0xd37fb0, 0x13, 0xc8204d7470, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/lib/go/src/reflect/value.go:303 +0xb1
github.com/maliceio/malice/vendor/github.com/urfave/cli.HandleAction(0x9f5c40, 0xd37fb0, 0xc82030ca00, 0x0, 0x0)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/app.go:480 +0x2ee
github.com/maliceio/malice/vendor/github.com/urfave/cli.Command.Run(0xbe5ed8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xbf1900, 0xb, 0x0, ...)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/command.go:186 +0x1301
github.com/maliceio/malice/vendor/github.com/urfave/cli.(*App).Run(0xc820386000, 0xc8200660c0, 0x4, 0x4, 0x0, 0x0)
/go/src/github.com/maliceio/malice/vendor/github.com/urfave/cli/app.go:236 +0xa9c
main.main()
/go/src/github.com/maliceio/malice/main.go:76 +0x467
ERRO[0001] "runtime error: invalid memory address or nil pointer dereference"
goroutine 1 [running]:
github.com/maliceio/malice/malice/errors.CheckErrorWithMessage(0x7f47a321c000, 0xc820010080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:24 +0x96
github.com/maliceio/malice/malice/errors.CheckError(0x7f47a321c000, 0xc820010080, 0x4)
/go/src/github.com/maliceio/malice/malice/errors/errors.go:12 +0x48
main.main()
/go/src/github.com/maliceio/malice/main.go:77 +0x489