Analysis

  • max time kernel
    151s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-03-2024 19:15

General

  • Target

    cc35570f8a6ca5eaa3b157d5129cf642.exe

  • Size

    12.0MB

  • MD5

    cc35570f8a6ca5eaa3b157d5129cf642

  • SHA1

    183c1a4dd86f9e96aba6020770de442ba1cab90f

  • SHA256

    961f5faa6835275d729394a3136e2a932540297fa9ccf7ced9f0bec24b191f39

  • SHA512

    638b4c36533d05b96b19f046899fcdc471efc58cd0893def3daa3d83d5c219fb8de67fd436cba3e22586b70a70e35ef7241cb042175c6f9555be52f2112bce58

  • SSDEEP

    24576:9lxdvCcpOKCtBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBD:9lzOR

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 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
  • 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\cc35570f8a6ca5eaa3b157d5129cf642.exe
    "C:\Users\Admin\AppData\Local\Temp\cc35570f8a6ca5eaa3b157d5129cf642.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\miqbagjk\
      2⤵
        PID:4872
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ziuakfbr.exe" C:\Windows\SysWOW64\miqbagjk\
        2⤵
          PID:4680
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create miqbagjk binPath= "C:\Windows\SysWOW64\miqbagjk\ziuakfbr.exe /d\"C:\Users\Admin\AppData\Local\Temp\cc35570f8a6ca5eaa3b157d5129cf642.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description miqbagjk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3952
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start miqbagjk
          2⤵
          • Launches sc.exe
          PID:1300
        • 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:3488
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4016 -s 1188
          2⤵
          • Program crash
          PID:2956
      • C:\Windows\SysWOW64\miqbagjk\ziuakfbr.exe
        C:\Windows\SysWOW64\miqbagjk\ziuakfbr.exe /d"C:\Users\Admin\AppData\Local\Temp\cc35570f8a6ca5eaa3b157d5129cf642.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4028
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2600
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4028 -s 512
          2⤵
          • Program crash
          PID:1108
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4016 -ip 4016
        1⤵
          PID:1564
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 516 -p 4028 -ip 4028
          1⤵
            PID:3716

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            7.4MB

            MD5

            74f6a35ae49aae3ac603e431550d7c84

            SHA1

            2cb6eaabb53bb9465f8261e7c8d7ea1e03cd05c1

            SHA256

            a161721d11836e61801fbffbc1ae4db6b9051648812a0bc5f12dc36b954c8e5e

            SHA512

            8cb7141eddda2507f376e7581c1fbe5557edd42b56cda13faf6254022a47e819e8569b74fed1552d699394b8d05c6a8ed54b0b81a59284e843c4eb5c6a64ecec

          • C:\Windows\SysWOW64\miqbagjk\ziuakfbr.exe

            Filesize

            4.9MB

            MD5

            021f4a316f3e61ed574adc60bcf56439

            SHA1

            4fc2ed29254dbe708bd61a54afbc66d2380446c9

            SHA256

            97d8202db5259656c2ef315a68c1ef3688050767f387c010b42df42c5b8e5d4a

            SHA512

            bfaf50dc4fe60d01d216dd0e5fab8524c74ff4accaaf93c4ee2b6f8c46003e4e4b747bcfbe6a5efeac783756720a94bfe6a3812f6e0e067b2c7e388c8afd096f

          • memory/2600-12-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/2600-15-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/2600-16-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/2600-18-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4016-3-0x0000000000400000-0x0000000000468000-memory.dmp

            Filesize

            416KB

          • memory/4016-2-0x00000000021C0000-0x00000000021D3000-memory.dmp

            Filesize

            76KB

          • memory/4016-8-0x0000000000400000-0x0000000000468000-memory.dmp

            Filesize

            416KB

          • memory/4016-9-0x00000000021C0000-0x00000000021D3000-memory.dmp

            Filesize

            76KB

          • memory/4016-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

            Filesize

            1024KB

          • memory/4028-10-0x0000000000790000-0x0000000000890000-memory.dmp

            Filesize

            1024KB

          • memory/4028-11-0x0000000000400000-0x0000000000468000-memory.dmp

            Filesize

            416KB

          • memory/4028-17-0x0000000000400000-0x0000000000468000-memory.dmp

            Filesize

            416KB