Skip to content

Commit

Permalink
add empty running executable
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed Mar 2, 2018
1 parent 9b867a7 commit 2330ea9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion disaster/linux.md
@@ -1,6 +1,14 @@
## Linux

Here are some of the worst things that they can do, and how to hopefully recover.
Here are some of the worst things that the red team can do and how to hopefully recover.


### Empty Running Executable

If your interpreter or other running executable is an empty file, you can grab the binary from memory.

1. Find a PID of the process (e.g. `bash`) - `pgrep <process name>`
2. Copy the EXE to the location (e.g. `/bin/bash`) - `cp -f /proc/<pid>/exe <location>`


### Invalid Password
Expand Down

0 comments on commit 2330ea9

Please sign in to comment.