Threat Database Trojans Trojan.Agent.Gen.EF

Trojan.Agent.Gen.EF

By CagedTech in Trojans
Published:

Threat Scorecard

Threat Level: 80 % (High)
First Seen: November 18, 2025
Last Seen: November 28, 2026
OS(es) Affected: Windows

Trojan.Agent.Gen.EF is a generic detection name for a Trojan that targets Windows computers. Trojans pretend to be harmless or hide in other content while they carry out harmful actions in the background. This one has a danger level of 8 out of 10. It was first seen on 2025-11-18 and most recently on 2026-11-28, and the feed records 3 detections.

What the threat does

Trojan.Agent.Gen.EF installs itself stealthily and runs silently in the background. According to the description, it may give attackers complete control over the infected system once it is installed.

The behavior data shows several notable actions:

  • It weakens built-in protection. The sample launches a hidden PowerShell command that adds scanning exclusions for the user profile folder and the ProgramData folder. Files placed in those locations would then be ignored by Windows' built-in antimalware scanning.
  • It works with PowerShell and named pipes. The sample was seen creating PowerShell-related temporary files and using named pipes. Malware of this type often uses these to run commands and communicate between processes.
  • It handles privileges and tokens. It uses functions for opening, duplicating and adjusting access tokens and privileges. Typically, this is how malicious code tries to gain higher rights or act under another security context.
  • It tampers with process memory. It calls a function that unmaps sections of memory, which is commonly associated with evasion techniques that hide code inside other processes.
  • It tries to avoid analysis. It checks for a debugger and queries system information, which are typical anti-debugging behaviors.
  • It collects user details. It reads the user name and locale settings, and it uses a Windows encryption function.

The analyzed file is a 64-bit native Windows GUI program with no digital signature, no version information and high entropy. High entropy often indicates packed or obfuscated content, which makes a file harder to inspect. Related detection names include Downloader.Agent.DLA, HackAgent.XF, Kryptik.DRFA, Trojan.Agent.Gen.EQU and Trojan.Metasploit.Gen.FU.

How it usually gets onto computers

The description says this Trojan most often arrives by exploiting system vulnerabilities and security flaws. It also spreads through software downloads from malicious websites and email attachments from untrusted sources. Those attachments are usually .exe, .pif, .avi and even .jpg files. A file that looks like a picture or video may actually be an executable program.

Risks for the user

If attackers gain full control, they could typically run further programs, download additional malware, watch your activity and access personal files and accounts. The scanning exclusions make the problem worse, because other malicious files can then be stored in those folders without being noticed. Because the sample appears to adjust privileges, the damage can reach beyond a single user account.

Signs of infection

The Trojan runs quietly, so visible symptoms may be few. Possible signs include:

  • Unexpected hidden or brief PowerShell windows or processes.
  • Scanning exclusions in your Windows security settings that you did not create, especially for your user profile or ProgramData folders.
  • Unfamiliar temporary script files appearing.
  • Unexplained slowdowns, crashes or unusual network activity.
  • Security settings that change on their own.

How to stay protected

  • Install Windows updates and software patches promptly, since vulnerabilities are a main entry point.
  • Download software only from official, trusted sources.
  • Do not open email attachments from unknown senders. Be cautious with files whose type does not match their icon or name, such as a "picture" that is really an executable.
  • Check your security settings regularly to make sure no unfamiliar exclusions have been added.
  • Use a reputable, up-to-date antimalware tool to run a full system scan, and remove anything it detects.
  • Use a standard user account for daily work and keep backups of important files offline.

If you suspect an infection, disconnect from the network, run a full scan and remove any unfamiliar exclusions. Then change your important passwords from a clean device.

Analysis Report

General information

Family Name: Trojan.Agent.Gen.EF
Signature status: No Signature

Known Samples

MD5: 87934f60b48e5c06d8738e00298a9ad3
SHA1: 75a31acc6503836cf11bdb5f29669121e2a384cd
SHA256: 0B05850DA4C1AE66023BAC857C57C0DCFACCD621749CB718BCA750F6C899EC6A
File Size: 1.61 MB, 1613806 bytes
MD5: e0049efacd12f32f770ecb781a8b40a0
SHA1: 8b5524535e2842f9af9910f677a21054412a78a2
SHA256: 553688E2F0BA67654F6CE96CC44840D81D47490CD11C2DCA97BC87C32C129F44
File Size: 1.61 MB, 1614057 bytes

Windows Portable Executable Attributes

  • File doesn't have "Rich" header
  • File doesn't have debug information
  • File doesn't have exports table
  • File doesn't have resources
  • File doesn't have security information
  • File has TLS information
  • File is 64-bit executable
  • File is either console or GUI application
  • File is GUI application (IMAGE_SUBSYSTEM_WINDOWS_GUI)
  • File is Native application (NOT .NET application)
Show 3 more
  • File is not packed
  • IMAGE_FILE_DLL is not set inside PE header (Executable)
  • IMAGE_FILE_EXECUTABLE_IMAGE is set inside PE header (Executable Image)

File Traits

  • HighEntropy
  • No Version Info
  • x64

Block Information

Total Blocks: 11,027
Potentially Malicious Blocks: 120
Whitelisted Blocks: 10,901
Unknown Blocks: 6

Visual Map

... Data truncated
0 - Probable Safe Block
? - Unknown Block
x - Potentially Malicious Block

Similar Families

Show 1 more
  • Trojan.Metasploit.Gen.FU

Files Modified

File Attributes
\device\namedpipe\dav rpc service Generic Read,Write Data,Write Attributes,Write extended,Append data
\device\namedpipe\pshost.134401807993717235.9588.defaultappdomain.powershell Generic Read,Write Data,Write Attributes,Write extended,Append data,LEFT 524288
\device\namedpipe\pshost.134401980302766334.8152.defaultappdomain.powershell Generic Read,Write Data,Write Attributes,Write extended,Append data,LEFT 524288
\device\namedpipe\wkssvc Generic Read,Write Data,Write Attributes,Write extended,Append data
c:\users\user\appdata\local\microsoft\windows\usrclass.dat{dba6b5ef-640a-11ed-9bcb-f677369d361c}.txr.1.regtrans-ms Generic Read,Write Data,Write Attributes,Write extended,Append data
c:\users\user\appdata\local\microsoft\windows\usrclass.dat{dba6b5ef-640a-11ed-9bcb-f677369d361c}.txr.2.regtrans-ms Generic Read,Write Data,Write Attributes,Write extended,Append data
c:\users\user\appdata\local\temp\__psscriptpolicytest_gosnmo5p.xvb.ps1 Generic Write,Read Attributes
c:\users\user\appdata\local\temp\__psscriptpolicytest_p1ize4tx.jiv.psm1 Generic Write,Read Attributes
c:\users\user\appdata\local\temp\__psscriptpolicytest_s123tqu1.ycx.psm1 Generic Write,Read Attributes
c:\users\user\appdata\local\temp\__psscriptpolicytest_tlrgprjf.3xr.ps1 Generic Write,Read Attributes

Registry Modifications

Key::Value Data API Name
HKLM\software\microsoft\windows defender\exclusions\paths::c:\users\wutsurss RegNtPreCreateKey
HKLM\software\microsoft\windows defender\exclusions\paths::c:\programdata RegNtPreCreateKey
HKLM\system\controlset001\services\bam\state\usersettings\s-1-5-21-3119368278-1123331430-659265220-1001::\device\harddiskvolume2\windows\system32\conhost.exe ㈂皥綻ǝ RegNtPreCreateKey
HKLM\software\microsoft\windows defender\exclusions\paths::c:\users\maysxhkv RegNtPreCreateKey
HKLM\system\controlset001\services\bam\state\usersettings\s-1-5-21-3119368278-1123331430-659265220-1001::\device\harddiskvolume2\windows\system32\conhost.exe ꞟ锏緣ǝ RegNtPreCreateKey

Windows API Usage

Category API
Syscall Use
  • ntdll.dll!NtAccessCheck
  • ntdll.dll!NtAlertThreadByThreadId
  • ntdll.dll!NtAllocateLocallyUniqueId
  • ntdll.dll!NtAlpcConnectPort
  • ntdll.dll!NtAlpcConnectPortEx
  • ntdll.dll!NtAlpcCreateResourceReserve
  • ntdll.dll!NtAlpcCreateSecurityContext
  • ntdll.dll!NtAlpcQueryInformation
  • ntdll.dll!NtAlpcQueryInformationMessage
  • ntdll.dll!NtAlpcSendWaitReceivePort
Show 90 more
  • ntdll.dll!NtAlpcSetInformation
  • ntdll.dll!NtApphelpCacheControl
  • ntdll.dll!NtAssociateWaitCompletionPacket
  • ntdll.dll!NtCancelTimer2
  • ntdll.dll!NtCancelWaitCompletionPacket
  • ntdll.dll!NtClearEvent
  • ntdll.dll!NtClose
  • ntdll.dll!NtCompareSigningLevels
  • ntdll.dll!NtConnectPort
  • ntdll.dll!NtCreateEvent
  • ntdll.dll!NtCreateFile
  • ntdll.dll!NtCreateIoCompletion
  • ntdll.dll!NtCreateKey
  • ntdll.dll!NtCreateMutant
  • ntdll.dll!NtCreatePrivateNamespace
  • ntdll.dll!NtCreateSection
  • ntdll.dll!NtCreateSemaphore
  • ntdll.dll!NtCreateThreadEx
  • ntdll.dll!NtCreateTimer
  • ntdll.dll!NtCreateTimer2
  • ntdll.dll!NtCreateWaitCompletionPacket
  • ntdll.dll!NtCreateWorkerFactory
  • ntdll.dll!NtDelayExecution
  • ntdll.dll!NtDeviceIoControlFile
  • ntdll.dll!NtDuplicateObject
  • ntdll.dll!NtDuplicateToken
  • ntdll.dll!NtEnumerateKey
  • ntdll.dll!NtEnumerateValueKey
  • ntdll.dll!NtFlushProcessWriteBuffers
  • ntdll.dll!NtFreeVirtualMemory
  • ntdll.dll!NtFsControlFile
  • ntdll.dll!NtGetCachedSigningLevel
  • ntdll.dll!NtMapViewOfSection
  • ntdll.dll!NtNotifyChangeKey
  • ntdll.dll!NtOpenDirectoryObject
  • ntdll.dll!NtOpenEvent
  • ntdll.dll!NtOpenFile
  • ntdll.dll!NtOpenKey
  • ntdll.dll!NtOpenKeyEx
  • ntdll.dll!NtOpenProcess
  • ntdll.dll!NtOpenProcessToken
  • ntdll.dll!NtOpenProcessTokenEx
  • ntdll.dll!NtOpenSection
  • ntdll.dll!NtOpenSymbolicLinkObject
  • ntdll.dll!NtOpenThreadToken
  • ntdll.dll!NtOpenThreadTokenEx
  • ntdll.dll!NtPowerInformation
  • ntdll.dll!NtProtectVirtualMemory
  • ntdll.dll!NtQueryAttributesFile
  • ntdll.dll!NtQueryDefaultLocale
  • ntdll.dll!NtQueryDirectoryFileEx
  • ntdll.dll!NtQueryFullAttributesFile
  • ntdll.dll!NtQueryInformationFile
  • ntdll.dll!NtQueryInformationJobObject
  • ntdll.dll!NtQueryInformationProcess
  • ntdll.dll!NtQueryInformationThread
  • ntdll.dll!NtQueryInformationToken
  • ntdll.dll!NtQueryKey
  • ntdll.dll!NtQueryLicenseValue
  • ntdll.dll!NtQueryObject
  • ntdll.dll!NtQueryPerformanceCounter
  • ntdll.dll!NtQuerySecurityAttributesToken
  • ntdll.dll!NtQuerySecurityObject
  • ntdll.dll!NtQuerySymbolicLinkObject
  • ntdll.dll!NtQuerySystemInformation
  • ntdll.dll!NtQuerySystemInformationEx
  • ntdll.dll!NtQueryValueKey
  • ntdll.dll!NtQueryVirtualMemory
  • ntdll.dll!NtQueryVolumeInformationFile
  • ntdll.dll!NtQueryWnfStateData
  • ntdll.dll!NtQueueApcThreadEx2
  • ntdll.dll!NtReadFile
  • ntdll.dll!NtReleaseMutant
  • ntdll.dll!NtReleaseSemaphore
  • ntdll.dll!NtReleaseWorkerFactoryWorker
  • ntdll.dll!NtRequestWaitReplyPort
  • ntdll.dll!NtResumeThread
  • ntdll.dll!NtSetEvent
  • ntdll.dll!NtSetInformationFile
  • ntdll.dll!NtSetInformationKey
  • ntdll.dll!NtSetInformationObject
  • ntdll.dll!NtSetInformationProcess
  • ntdll.dll!NtSetInformationThread
  • ntdll.dll!NtSetInformationVirtualMemory
  • ntdll.dll!NtSetInformationWorkerFactory
  • ntdll.dll!NtSetTimer2
  • ntdll.dll!NtSetTimerEx
  • ntdll.dll!NtSubscribeWnfStateChange
  • ntdll.dll!NtTestAlert
  • ntdll.dll!NtTraceControl

12 additional items are not displayed above.

Process Manipulation Evasion
  • NtUnmapViewOfSection
Process Shell Execute
  • CreateProcess
Anti Debug
  • IsDebuggerPresent
  • NtQuerySystemInformation
User Data Access
  • GetUserDefaultLocaleName
  • GetUserName
  • GetUserNameEx
  • GetUserObjectInformation
Encryption Used
  • BCryptOpenAlgorithmProvider
Other Suspicious
  • AdjustTokenPrivileges

Shell Command Execution

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive -WindowStyle Hidden -Command "Add-MpPreference -ExclusionPath @($env:userprofile,$env:programdata) -Force"