Technique

MSF - BOF Execution

 

1.0 Prerequisites

Clone Situational Awareness BOF1 and compile:

git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF
cd CS-Situational-Awareness-BOF
chmod +x make_all.sh
./make_all.sh

2.0 Meterpreter

Set up a Meterpreter shell and load bodloader. Afterwards execute a BOF

load bofloader
execute_bof /dir/to/CS-Situational-Awareness-BOF/SA/enumlocalsessions/enumlocalsessions.x64.o

References

Footnotes

  1. https://github.com/trustedsec/CS-Situational-Awareness-BOF