| Switch |
Type |
Description |
| -f,--file |
string |
Input PE file. |
| -o,--out |
string |
Output binary payload file name. |
| -e |
int |
Number of times to encode the generated reflective payload |
| --iat |
bool |
Use IAT API resolver block instead of CRC API resolver block |
| -l |
int |
Maximum number of bytes for obfuscation (default 5) |
| --sys |
bool |
Perform raw syscalls. (only x64) |
| --scrape |
bool |
Scrape magic byte and DOS stub from PE. |
**Example Usage**
- Generate reflective payload.
```
amber -f test.exe
```
- Generate reflective payload with IAT API resolver and encode the final payload 10 times.
```
amber -e 10 --iat -f test.exe
```
***Docker Usage***
```
docker run -it -v /tmp/:/tmp/ amber -f /tmp/file.exe
```
# Demo
- [NOPcon 2018 DEMO](https://www.youtube.com/watch?v=lCPdKSH6RMc)
- [Pentest.blog - Deploying Reflective PE Files With Metasploit](https://www.youtube.com/watch?v=3en0ftnjEpE)
- [Pentest.blog - Deploying Reflective Ransomware POC](https://www.youtube.com/watch?v=JVv_spX6D4U)