Skip to content

Commit

Permalink
add env,get-netsession2,list_firewall_rules,locale,netlocalgroup2,net…
Browse files Browse the repository at this point in the history
…loggedon,netloggedon2,nettime,netuptime,nonpagedldapsearch,notepad,probe,regsession
  • Loading branch information
c2biz committed Apr 2, 2024
1 parent 65dcd57 commit 7a76b1e
Show file tree
Hide file tree
Showing 14 changed files with 488 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,58 @@ jobs:
run: |
./make_bof.sh wmi_query
- name: env
run: |
./make_bof.sh env
- name: get-netsession2
run: |
./make_bof.sh get-netsession2
- name: list_firewall_rules
run: |
./make_bof.sh list_firewall_rules
- name: locale
run: |
./make_bof.sh locale
- name: netlocalgroup2
run: |
./make_bof.sh netlocalgroup2
- name: netloggedon
run: |
./make_bof.sh netloggedon
- name: netloggedon2
run: |
./make_bof.sh netloggedon2
- name: nettime
run: |
./make_bof.sh nettime
- name: netuptime
run: |
./make_bof.sh netuptime
- name: nonpagedldapsearch
run: |
./make_bof.sh nonpagedldapsearch
- name: notepad
run: |
./make_bof.sh notepad
- name: probe
run: |
./make_bof.sh probe
- name: regsession
run: |
./make_bof.sh regsession
- name: "Publish Release"
uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down
25 changes: 25 additions & 0 deletions src/SA/env/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "env",
"version": "0.0.0",
"command_name": "sa-env",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "List process environment variables",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "env.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "env.x86.o"
}
],
"arguments": []
}
44 changes: 44 additions & 0 deletions src/SA/get-netsession2/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "get-netsession2",
"version": "0.0.0",
"command_name": "sa-get-netsession2",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "Modified version of netsession that supports BOFHound",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "get-netsession2.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "get-netsession2.x86.o"
}
],
"arguments": [
{
"name": "hostname",
"desc": "Represents the hostname.",
"type": "wstring",
"optional": true
},
{
"name": "resolveMethod",
"desc": "Method to resolve the hostname.",
"type": "integer",
"optional": true
},
{
"name": "dnsserver",
"desc": "DNS server address.",
"type": "string",
"optional": true
}
]
}
25 changes: 25 additions & 0 deletions src/SA/list_firewall_rules/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "list_firewall_rules",
"version": "0.0.0",
"command_name": "sa-list_firewall_rules",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "List Windows firewall rules",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "list_firewall_rules.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "list_firewall_rules.x86.o"
}
],
"arguments": []
}
25 changes: 25 additions & 0 deletions src/SA/locale/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "locale",
"version": "0.0.0",
"command_name": "sa-locale",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "List system locale language, locale ID, date, time, and country",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "locale.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "locale.x86.o"
}
],
"arguments": []
}
38 changes: 38 additions & 0 deletions src/SA/netlocalgroup2/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "netlocalgroup2",
"version": "0.0.0",
"command_name": "sa-netlocalgroup2",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "List server group members",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "netlocalgroup2.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "netlocalgroup2.x86.o"
}
],
"arguments": [
{
"name": "server",
"desc": "Represents the server.",
"type": "wstring",
"optional": false
},
{
"name": "group",
"desc": "Represents the group",
"type": "integer",
"optional": true
}
]
}
32 changes: 32 additions & 0 deletions src/SA/netloggedon/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "netloggedon",
"version": "0.0.0",
"command_name": "sa-netloggedon",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "Return users logged on the local or remote computer",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "netloggedon.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "netloggedon.x86.o"
}
],
"arguments": [
{
"name": "servername",
"desc": "Represents the server name",
"type": "wstring",
"optional": false
}
]
}
32 changes: 32 additions & 0 deletions src/SA/netloggedon2/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "netloggedon2",
"version": "0.0.0",
"command_name": "sa-netloggedon2",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "Modified version of netloggedon that supports BOFHound",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "netloggedon2.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "netloggedon2.x86.o"
}
],
"arguments": [
{
"name": "computername",
"desc": "Represents the computer name",
"type": "wstring",
"optional": true
}
]
}
32 changes: 32 additions & 0 deletions src/SA/nettime/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "nettime",
"version": "0.0.0",
"command_name": "sa-nettime",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "Display time on remote computer",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "nettime.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "nettime.x86.o"
}
],
"arguments": [
{
"name": "hostname",
"desc": "Represents the hostname",
"type": "wstring",
"optional": false
}
]
}
32 changes: 32 additions & 0 deletions src/SA/netuptime/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "netuptime",
"version": "0.0.0",
"command_name": "sa-netuptime",
"extension_author": "c2biz",
"original_author": "TrustedSec",
"repo_url": "https://github.com/sliverarmory/CS-Situational-Awareness-BOF",
"help": "Return information about the boot time on the local or remote computer",
"long_help": "",
"depends_on": "coff-loader",
"entrypoint": "go",
"files": [
{
"os": "windows",
"arch": "amd64",
"path": "netuptime.x64.o"
},
{
"os": "windows",
"arch": "386",
"path": "netuptime.x86.o"
}
],
"arguments": [
{
"name": "computername",
"desc": "Represents the computername",
"type": "wstring",
"optional": false
}
]
}
Loading

0 comments on commit 7a76b1e

Please sign in to comment.