Analysis

  • max time kernel
    171s
  • max time network
    191s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2023 13:42

General

  • Target

    1a6060726c5693529f35ca4c0a90637e.exe

  • Size

    11.8MB

  • MD5

    1a6060726c5693529f35ca4c0a90637e

  • SHA1

    34d52fd089ae855f763caef6eb2a5a3e24092b0e

  • SHA256

    02447f8d1ef4148ef09948fe2bdd57ed15e3b4f6fd86db9c4ef81004a43a0d6d

  • SHA512

    d49ba36c91421a48f817a3704f2df101e8d646e981025425b776050fa4f9d7d42822ad3e5c3d5ebb701f3dd4a26f3cd78993f6840826484887400c4847449698

  • SSDEEP

    6144:0KTDS3aiZOTXbKdags2FNxWUWF5zoINm/nu:hMaiZOT+dags21Wts9vu

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1a6060726c5693529f35ca4c0a90637e.exe
    "C:\Users\Admin\AppData\Local\Temp\1a6060726c5693529f35ca4c0a90637e.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wtnyauer\
      2⤵
        PID:4404
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bkwcmhdt.exe" C:\Windows\SysWOW64\wtnyauer\
        2⤵
          PID:4520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wtnyauer binPath= "C:\Windows\SysWOW64\wtnyauer\bkwcmhdt.exe /d\"C:\Users\Admin\AppData\Local\Temp\1a6060726c5693529f35ca4c0a90637e.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wtnyauer "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wtnyauer
          2⤵
          • Launches sc.exe
          PID:4688
        • 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:4556
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2496 -s 1172
          2⤵
          • Program crash
          PID:3456
      • C:\Windows\SysWOW64\wtnyauer\bkwcmhdt.exe
        C:\Windows\SysWOW64\wtnyauer\bkwcmhdt.exe /d"C:\Users\Admin\AppData\Local\Temp\1a6060726c5693529f35ca4c0a90637e.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1504
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1736
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1504 -s 536
          2⤵
          • Program crash
          PID:2688
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2496 -ip 2496
        1⤵
          PID:2868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1504 -ip 1504
          1⤵
            PID:3980

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.7MB

            MD5

            a88dd7cf0b6e3cc6a2639c8023c81bb3

            SHA1

            cb086f1c1762aba5e9c5903c6cfdc6305d1f262d

            SHA256

            aeb6604197ec9bf77a70140233882395f9485e37c71040909cc27e77f68fd72e

            SHA512

            e1d45805eba4919c535e61a68bdba2529db23fc03596c59484062e2048462fb327cd716410deb32dd7fa20300987ae946471f7aee2de017f22a9a2db6e87cb68

          • C:\Windows\SysWOW64\wtnyauer\bkwcmhdt.exe

            Filesize

            8.2MB

            MD5

            c3919dd52e24add4836e266b405ea7af

            SHA1

            9410b77addc6827cc011f4929a573d6de3576854

            SHA256

            05446b076a1d2bcb2f99283596e86520883f3277278ed8f2f08d3bc4627188aa

            SHA512

            5ffc2ce203de28040df009b5c9206b59c22b4f4738deb34be2f87e9a4e9283497fc85713a4fc290404e804c4af89b5721c4bffddb2c50b3afb01c864c98b4f30

          • memory/1504-21-0x0000000000400000-0x000000000324F000-memory.dmp

            Filesize

            46.3MB

          • memory/1504-18-0x0000000000400000-0x000000000324F000-memory.dmp

            Filesize

            46.3MB

          • memory/1504-14-0x00000000034F0000-0x00000000035F0000-memory.dmp

            Filesize

            1024KB

          • memory/1736-15-0x00000000003B0000-0x00000000003C5000-memory.dmp

            Filesize

            84KB

          • memory/1736-26-0x00000000003B0000-0x00000000003C5000-memory.dmp

            Filesize

            84KB

          • memory/1736-25-0x00000000003B0000-0x00000000003C5000-memory.dmp

            Filesize

            84KB

          • memory/1736-22-0x00000000003B0000-0x00000000003C5000-memory.dmp

            Filesize

            84KB

          • memory/1736-19-0x00000000003B0000-0x00000000003C5000-memory.dmp

            Filesize

            84KB

          • memory/2496-8-0x00000000033B0000-0x00000000034B0000-memory.dmp

            Filesize

            1024KB

          • memory/2496-11-0x0000000000400000-0x000000000324F000-memory.dmp

            Filesize

            46.3MB

          • memory/2496-10-0x0000000004F90000-0x0000000004FA3000-memory.dmp

            Filesize

            76KB

          • memory/2496-1-0x00000000033B0000-0x00000000034B0000-memory.dmp

            Filesize

            1024KB

          • memory/2496-5-0x0000000000400000-0x000000000324F000-memory.dmp

            Filesize

            46.3MB

          • memory/2496-4-0x0000000000400000-0x000000000324F000-memory.dmp

            Filesize

            46.3MB

          • memory/2496-2-0x0000000004F90000-0x0000000004FA3000-memory.dmp

            Filesize

            76KB