Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/01/2023, 06:07

General

  • Target
    file.exe
  • Size 354KB
  • Sample230109-gvbgeadb77
  • SHA256 efec07fbc1d3df82dc8f39c152f8d74da43ce2df373166952c9a1db3abf4135f
  • 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:5060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxosjkmt\
      2⤵
        PID:2912
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfocbxgl.exe" C:\Windows\SysWOW64\bxosjkmt\
        2⤵
          PID:2580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bxosjkmt binPath= "C:\Windows\SysWOW64\bxosjkmt\tfocbxgl.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3448
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bxosjkmt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bxosjkmt
          2⤵
          • Launches sc.exe
          PID:2104
        • 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:680
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5060 -s 1044
          2⤵
          • Program crash
          PID:1328
      • C:\Windows\SysWOW64\bxosjkmt\tfocbxgl.exe
        C:\Windows\SysWOW64\bxosjkmt\tfocbxgl.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:532
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:2488
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 532 -s 516
          2⤵
          • Program crash
          PID:1964
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 5060 -ip 5060
        1⤵
          PID:1864
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 532 -ip 532
          1⤵
            PID:1972

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                tfocbxgl.exe

                • Path C:\Users\Admin\AppData\Local\Temp\tfocbxgl.exe
                • Size 13.8MB
                • SHA256 9dfd9f7fb40e33f6977e28476105b6065c218d924f0df6e6aac7a1e4d5d1af67
                • MD5 SHA1 SHA512 SSDEEP

                tfocbxgl.exe

                • Path C:\Windows\SysWOW64\bxosjkmt\tfocbxgl.exe
                • Size 13.8MB
                • SHA256 9dfd9f7fb40e33f6977e28476105b6065c218d924f0df6e6aac7a1e4d5d1af67
                • MD5 SHA1 SHA512 SSDEEP

                memory/532-151-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/532-149-0x0000000003259000-0x000000000326E000-memory.dmp

                memory/2488-152-0x0000000001260000-0x0000000001275000-memory.dmp

                memory/2488-150-0x0000000001260000-0x0000000001275000-memory.dmp

                memory/2488-146-0x0000000001260000-0x0000000001275000-memory.dmp

                memory/5060-144-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/5060-143-0x000000000322D000-0x0000000003243000-memory.dmp

                memory/5060-132-0x000000000322D000-0x0000000003243000-memory.dmp

                memory/5060-134-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/5060-133-0x0000000003160000-0x0000000003173000-memory.dmp