Analysis

  • max time kernel
    152s
  • 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
    10/02/2023, 11:30

General

  • Target
    file.exe
  • Size 357KB
  • Sample230210-nl6draea85
  • SHA256 dae33d38f40bc387c3decf2d8388795f5aaae213062181806c8a6a94d4e31409
  • 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
  • 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.

  • Executes dropped EXE 1 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). 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:4840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zqoekyau\
      2⤵
        PID:4568
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\brtgxpa.exe" C:\Windows\SysWOW64\zqoekyau\
        2⤵
          PID:872
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zqoekyau binPath= "C:\Windows\SysWOW64\zqoekyau\brtgxpa.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zqoekyau "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zqoekyau
          2⤵
          • Launches sc.exe
          PID:3372
        • 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:2032
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4840 -s 1040
          2⤵
          • Program crash
          PID:716
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4840 -ip 4840
        1⤵
          PID:1936
        • C:\Windows\SysWOW64\zqoekyau\brtgxpa.exe
          C:\Windows\SysWOW64\zqoekyau\brtgxpa.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:4260
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            PID:4348
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 4260 -s 528
            2⤵
            • Program crash
            PID:1480
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4260 -ip 4260
          1⤵
            PID:2316

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                brtgxpa.exe

                • Path C:\Users\Admin\AppData\Local\Temp\brtgxpa.exe
                • Size 11.4MB
                • SHA256 0baec960c6c06ee999cc95120f761fe3ea9c532d66d930a749c681775b25253d
                • MD5 SHA1 SHA512 SSDEEP

                brtgxpa.exe

                • Path C:\Windows\SysWOW64\zqoekyau\brtgxpa.exe
                • Size 11.4MB
                • SHA256 0baec960c6c06ee999cc95120f761fe3ea9c532d66d930a749c681775b25253d
                • MD5 SHA1 SHA512 SSDEEP

                memory/4260-152-0x0000000000400000-0x0000000000485000-memory.dmp

                memory/4348-149-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/4348-153-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/4348-154-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/4840-141-0x000000000061D000-0x0000000000633000-memory.dmp

                memory/4840-142-0x0000000000400000-0x0000000000485000-memory.dmp

                memory/4840-134-0x0000000000400000-0x0000000000485000-memory.dmp

                memory/4840-146-0x000000000061D000-0x0000000000633000-memory.dmp

                memory/4840-147-0x0000000000400000-0x0000000000485000-memory.dmp

                memory/4840-132-0x000000000061D000-0x0000000000633000-memory.dmp

                memory/4840-133-0x00000000005E0000-0x00000000005F3000-memory.dmp