mirror of
https://github.com/PatchRequest/BusyWork
synced 2026-06-09 16:04:04 +00:00
4b72c45c57
Inter-task chaining: a 256-byte ScratchBuffer flows through all tasks in a single run() call. Each task reads from it (blend_into) and writes back results (absorb), creating a data-dependency chain where task N's output influences task N+1's computation. An analyzer can no longer identify individual tasks as isolated blocks. Work data in all tasks: all 84 tasks now actively consume fed work data. Filesystem tasks derive skip offsets and iteration biases from work data. Registry tasks bias subkey/value enumeration counts. WinAPI tasks offset starting indices for window/process/metric enumeration. Network tasks select starting host indices and blend work data into response buffers. New COM/WMI category (8 tasks): WQL queries against Win32_Process, Win32_OperatingSystem, Win32_ComputerSystem, Win32_NetworkAdapterConfiguration, Win32_LogicalDisk, Win32_Service, Win32_BIOS, and Win32_Processor. All read-only. Uses COM automation with CoInitializeSecurity for reliable initialization across apartment models. 84 tasks across 8 categories. All 182 tests pass.
71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[package]
|
|
name = "busywork"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Sleep replacement that executes real, varied work to break behavioral pattern matching"
|
|
license = "MIT"
|
|
repository = "https://github.com/PatchRequest/BusyWork"
|
|
readme = "README.md"
|
|
keywords = ["sleep", "evasion", "pattern-breaking", "winapi", "busywork"]
|
|
categories = ["os::windows-apis"]
|
|
|
|
[dependencies]
|
|
rand = "0.8"
|
|
bitflags = "2"
|
|
sha2 = { version = "0.10", optional = true }
|
|
md-5 = { version = "0.10", optional = true }
|
|
flate2 = { version = "1", optional = true }
|
|
|
|
[dependencies.windows]
|
|
version = "0.58"
|
|
optional = true
|
|
|
|
[features]
|
|
default = [
|
|
"cat-compute",
|
|
"cat-memory",
|
|
"cat-filesystem",
|
|
"cat-registry",
|
|
"cat-winapi",
|
|
"cat-network",
|
|
"cat-crypto",
|
|
"cat-com",
|
|
]
|
|
cat-compute = ["dep:sha2", "dep:md-5", "dep:flate2"]
|
|
cat-memory = []
|
|
cat-filesystem = []
|
|
cat-registry = [
|
|
"dep:windows",
|
|
"windows/Win32_System_Registry",
|
|
"windows/Win32_Foundation",
|
|
]
|
|
cat-winapi = [
|
|
"dep:windows",
|
|
"windows/Win32_UI_WindowsAndMessaging",
|
|
"windows/Win32_System_Diagnostics_ToolHelp",
|
|
"windows/Win32_System_SystemInformation",
|
|
"windows/Win32_System_DataExchange",
|
|
"windows/Win32_Foundation",
|
|
"windows/Win32_System_Threading",
|
|
"windows/Win32_Storage_FileSystem",
|
|
"windows/Win32_System_Memory",
|
|
"windows/Win32_System_LibraryLoader",
|
|
]
|
|
cat-network = []
|
|
cat-crypto = [
|
|
"dep:windows",
|
|
"windows/Win32_Security_Cryptography",
|
|
"windows/Win32_Foundation",
|
|
]
|
|
cat-com = [
|
|
"dep:windows",
|
|
"windows/Win32_System_Com",
|
|
"windows/Win32_System_Wmi",
|
|
"windows/Win32_Foundation",
|
|
"windows/Win32_System_Ole",
|
|
"windows/Win32_System_Variant",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|