2018-01-03 17:34:12 -05:00
|
|
|
# System Information Discovery
|
|
|
|
|
|
|
|
|
|
MITRE ATT&CK Technique: [T1082](https://attack.mitre.org/wiki/Technique/T1082)
|
|
|
|
|
|
|
|
|
|
List OS information:
|
|
|
|
|
|
2018-01-11 16:56:58 -05:00
|
|
|
uname -a >> /tmp/loot.txt
|
2018-01-03 17:34:12 -05:00
|
|
|
|
|
|
|
|
List OS specific information:
|
|
|
|
|
|
2018-01-11 16:56:58 -05:00
|
|
|
cat /etc/lsb-release >> /tmp/loot.txt
|
|
|
|
|
cat /etc/redhat-release >> /tmp/loot.txt
|
2018-01-03 17:34:12 -05:00
|
|
|
|
|
|
|
|
Show how long a machine has been running:
|
|
|
|
|
|
2018-01-11 16:56:58 -05:00
|
|
|
uptime >> /tmp/loot.txt
|