Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/11/2022, 09:58

General

  • Target
    file.exe
  • Size 148KB
  • Sample221126-lzhthaca3t
  • SHA256 e62ccff23ee859afce06f1070d040e33c6d866f560f10d6bba04af8df1f3b0fb
  • MD5 SHA1 SHA512 SSDEEP

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.

  • 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.

  • 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). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 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:5028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxtyguut\
      2⤵
        PID:3176
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lbdqhzk.exe" C:\Windows\SysWOW64\gxtyguut\
        2⤵
          PID:3248
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gxtyguut binPath= "C:\Windows\SysWOW64\gxtyguut\lbdqhzk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gxtyguut "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:984
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gxtyguut
          2⤵
          • Launches sc.exe
          PID:2840
        • 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:3596
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5028 -s 892
          2⤵
          • Program crash
          PID:60
      • C:\Windows\SysWOW64\gxtyguut\lbdqhzk.exe
        C:\Windows\SysWOW64\gxtyguut\lbdqhzk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1100
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1100 -s 516
          2⤵
          • Program crash
          PID:4420
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 5028 -ip 5028
        1⤵
          PID:1408
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 1100 -ip 1100
          1⤵
            PID:4504

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                lbdqhzk.exe

                • Path C:\Users\Admin\AppData\Local\Temp\lbdqhzk.exe
                • Size 13.2MB
                • SHA256 a5029332f6e068f13dd1cbd8cc9c984f3e703fb1fc3676836a37bd9ce5ff86ce
                • MD5 SHA1 SHA512 SSDEEP

                lbdqhzk.exe

                • Path C:\Windows\SysWOW64\gxtyguut\lbdqhzk.exe
                • Size 13.2MB
                • SHA256 a5029332f6e068f13dd1cbd8cc9c984f3e703fb1fc3676836a37bd9ce5ff86ce
                • MD5 SHA1 SHA512 SSDEEP

                memory/1100-153-0x0000000000400000-0x0000000000AD7000-memory.dmp

                memory/1100-152-0x0000000000C18000-0x0000000000C28000-memory.dmp

                memory/3044-155-0x00000000012D0000-0x00000000012E5000-memory.dmp

                memory/3044-154-0x00000000012D0000-0x00000000012E5000-memory.dmp

                memory/3044-149-0x00000000012D0000-0x00000000012E5000-memory.dmp

                memory/5028-147-0x0000000000400000-0x0000000000AD7000-memory.dmp

                memory/5028-146-0x0000000000D7D000-0x0000000000D8E000-memory.dmp

                memory/5028-135-0x0000000000D7D000-0x0000000000D8E000-memory.dmp

                memory/5028-137-0x0000000000400000-0x0000000000AD7000-memory.dmp

                memory/5028-136-0x0000000000D30000-0x0000000000D43000-memory.dmp