Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/T1003.007_proc-filesystem
Adversaries may gather credentials from the proc filesystem or `/proc`.
Passed 18 of 24 test cases with the skill, and 11 of 24 without it.
and 6 more in the full report
8 fixed11 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
When running shell-based process memory dumping scripts in automated security testing, what command line utility is used to obtain the process ID matching a given search term?
| Checked | Without skill | With skill |
|---|---|---|
| Uses pgrep with flags -n and -f to locate the target PID. | Missed | Passed |
The instructions your model reads when the skill loads.
Sub-technique of: T1003
Adversaries may gather credentials from the proc filesystem or /proc. The proc filesystem is a pseudo-filesystem used as an interface to kernel data structures for Linux based systems managing virtual memory. For each process, the /proc/<PID>/maps file shows how memory is mapped within the process’s virtual address space. And /proc/<PID>/mem, exposed for debugging purposes, provides access to the process’s virtual address space.
When executing with root privileges, adversaries can search these memory locations for all processes on a system that contain patterns indicative of credentials. Adversaries may use regex patterns, such as grep -E "^[0-9a-f-]* r" /proc/"$pid"/maps | cut -d' ' -f 1, to look for fixed strings in memory structures or cached hashes. When running without privileged access, processes can still view their own virtual memory locations. Some services or programs may save credentials in clear text inside the process’s memory.
If running as or with the permissions of a web browser, a process can search the /maps & /mem locations for common website credential patterns (that can also be used to find adjacent memory within the same structure) in which hashes or cleartext credentials may be located.
Platforms: Linux
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Using /proc/$PID/mem, where $PID is the target process ID, use shell utilities to
copy process memory to an external file so it can be searched or exfiltrated later.
Supported Platforms: linux Elevation Required: Yes
test cases passed, vs 11 / 24 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.