Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-10-2024 01:26

General

  • Target

    5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30.exe

  • Size

    416KB

  • MD5

    e4352f63724267bed81e8c199bd8ca0f

  • SHA1

    ce9c69ca36920f076fe1369be4d9001085ca8602

  • SHA256

    5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30

  • SHA512

    afe8786dade10b520aeee40fc661d0f86b370e2c0272be3a462033cdc4b9cf91ddf8a2f2f6628c478da8736dbd7704d8da3b577c5afeb053db79dad1556c8bc4

  • SSDEEP

    3072://IcJg7uMwZi9VaiI2PLP7zIyMDWVYvVtKHpA6PYYNp/GG7Ig7LRACfij5+U/p49:HH0uMvGiI2PLgW4upRfJGuLmHsU

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

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

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies data under HKEY_USERS 8 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30.exe
    "C:\Users\Admin\AppData\Local\Temp\5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yvegdbwu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xnqgcr.exe" C:\Windows\SysWOW64\yvegdbwu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yvegdbwu binPath= "C:\Windows\SysWOW64\yvegdbwu\xnqgcr.exe /d\"C:\Users\Admin\AppData\Local\Temp\5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yvegdbwu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yvegdbwu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3660
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 1224
      2⤵
      • Program crash
      PID:2520
  • C:\Windows\SysWOW64\yvegdbwu\xnqgcr.exe
    C:\Windows\SysWOW64\yvegdbwu\xnqgcr.exe /d"C:\Users\Admin\AppData\Local\Temp\5ffda142aa321a2b5546c426a28403d7f19b51b88985c8617f11c04411489e30.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:916
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:1360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 916 -s 532
      2⤵
      • Program crash
      PID:3176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 916 -ip 916
    1⤵
      PID:4012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2008 -ip 2008
      1⤵
        PID:1900

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        4a14cba7423d2970cd48ef331d14c132

        SHA1

        688251936b596de1312834cc6146818aa8eb9001

        SHA256

        5d54e18ed40b33be827040be54cc6b2a9cc2c831fd6079eff15f1a07db923018

        SHA512

        cab09a0b9c00f5bad2e3590b0f4c4fff9bffe363a6c40cec399bc2beba6d77654cae41aa4f69661010781539f64aa51ec2b8041f0701d09e1f7272ab0c657134

      • memory/916-10-0x0000000000400000-0x0000000000477000-memory.dmp

        Filesize

        476KB

      • memory/916-16-0x0000000000400000-0x0000000000477000-memory.dmp

        Filesize

        476KB

      • memory/916-8-0x0000000000400000-0x0000000000477000-memory.dmp

        Filesize

        476KB

      • memory/916-9-0x0000000000400000-0x0000000000477000-memory.dmp

        Filesize

        476KB

      • memory/1360-40-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-46-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-14-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1360-11-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1360-25-0x0000000002600000-0x000000000280F000-memory.dmp

        Filesize

        2.1MB

      • memory/1360-38-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-59-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

        Filesize

        28KB

      • memory/1360-27-0x0000000002600000-0x000000000280F000-memory.dmp

        Filesize

        2.1MB

      • memory/1360-20-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1360-21-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1360-23-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1360-50-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-55-0x0000000007640000-0x0000000007A4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1360-58-0x0000000007640000-0x0000000007A4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1360-54-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

        Filesize

        20KB

      • memory/1360-51-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

        Filesize

        20KB

      • memory/1360-49-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-48-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-47-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-28-0x0000000001DE0000-0x0000000001DE6000-memory.dmp

        Filesize

        24KB

      • memory/1360-45-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-44-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-43-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-42-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-41-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-31-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-39-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-37-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-36-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-35-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/1360-34-0x0000000001DF0000-0x0000000001E00000-memory.dmp

        Filesize

        64KB

      • memory/2008-2-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/2008-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2008-18-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/2008-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2008-17-0x0000000000400000-0x0000000000477000-memory.dmp

        Filesize

        476KB

      • memory/2008-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB