Skip to content

Commit 7d746a8

Browse files
author
hippwn
committed
Add part about FS in paper
1 parent 61a5e25 commit 7d746a8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

paper/33_windows.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Windows
44

5+
### Crawling the Registry Hive
6+
57
On Windows, most configuration can be done through the *Registry Hive* –
68
some kind of database that contains every configuration option about either the
79
operating system itself, or any software that would like to store information
@@ -29,4 +31,23 @@ virtualBoxKeys := []string{
2931
`HKLM\SYSTEM\ControlSet001\Services\VBoxSF`,
3032
`HKLM\SYSTEM\ControlSet001\Services\VBoxVideo`,
3133
}
34+
```
35+
36+
### Looking for known files
37+
38+
Following a similar principle to the registries analysis, we can take a look to
39+
the file system, searching for particular files. When installed, the
40+
aforementioned *guest addons* add some files to the disk. These files are known
41+
and pretty easy to guess. A lot of malwares will would take a look at these.
42+
Here is a quick example:
43+
44+
```golang
45+
vmwarePath := []string{
46+
`c:\windows\system32\drivers\vmmouse.sys`,
47+
`c:\windows\system32\drivers\vmnet.sys`,
48+
`c:\windows\system32\drivers\vmxnet.sys`,
49+
`c:\windows\system32\drivers\vmhgfs.sys`,
50+
`c:\windows\system32\drivers\vmx86.sys`,
51+
`c:\windows\system32\drivers\hgfs.sys`
52+
}
3253
```

0 commit comments

Comments
 (0)