Analysis

  • max time kernel
    148s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20231215-en
  • resource tags

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    31-12-2023 13:09

General

  • Target

    3757421ea9ac7501daf8319fd8dfbad5.exe

  • Size

    14.3MB

  • MD5

    3757421ea9ac7501daf8319fd8dfbad5

  • SHA1

    a20ee5932e9f907109e3aca3eecc8c031978ba71

  • SHA256

    092573f07c86f7c1637cc647a266c59a5e6f1b23c4524832fe36fc406551bfe4

  • SHA512

    18b7cc5b8828ada39a47248b93218ee8918304d94f52246f1ce19cb0cfbe7d31e5a50c2d98e0cb48cc02c41dc977f51935af04ae35a3321507cf6828efae42a5

  • SSDEEP

    24576:okTlFKR1iLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLX:oLi

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3757421ea9ac7501daf8319fd8dfbad5.exe
    "C:\Users\Admin\AppData\Local\Temp\3757421ea9ac7501daf8319fd8dfbad5.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyeymdrz\
      2⤵
        PID:2012
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\glhzxam.exe" C:\Windows\SysWOW64\lyeymdrz\
        2⤵
          PID:2684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lyeymdrz binPath= "C:\Windows\SysWOW64\lyeymdrz\glhzxam.exe /d\"C:\Users\Admin\AppData\Local\Temp\3757421ea9ac7501daf8319fd8dfbad5.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2660
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lyeymdrz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2940
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lyeymdrz
          2⤵
          • Launches sc.exe
          PID:2592
        • 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:2692
      • C:\Windows\SysWOW64\lyeymdrz\glhzxam.exe
        C:\Windows\SysWOW64\lyeymdrz\glhzxam.exe /d"C:\Users\Admin\AppData\Local\Temp\3757421ea9ac7501daf8319fd8dfbad5.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2572
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2608

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        2.1MB

        MD5

        7f024ef82b9a06b7be6b56f524e55d2e

        SHA1

        601d63e6d8b9318c79c71f497cca5a363b14b853

        SHA256

        3e030df0d04a2ada2f64e218ec9971a2e0cd09631be348f58257ab6281145842

        SHA512

        40e8851e0f3fd7ca4003849f2e5c73cbc636b62c9f3feede82977e0ef10c2fd989d18bcef1b66a7cef1718401fd4975a34268e2eba840ca2ac43ebb51639bb25

      • C:\Windows\SysWOW64\lyeymdrz\glhzxam.exe

        Filesize

        3.4MB

        MD5

        92dd910aa560176fdb032ca21029f4e6

        SHA1

        39e83522b6078923dc022a68c8983ce889a5e654

        SHA256

        2f5ce6d94018604600387091ace946cbbfad7c015a537f521dcf92f4d35cd786

        SHA512

        a1ec51c40c706a89001cbceaf319a0577f8c7b138044a0982188d5ada797956ed918b2b5d7ca2c18b44a4e6b12e5e81d2801ed0ad6f31c786404573aff44a451

      • memory/2572-19-0x0000000000400000-0x00000000023AC000-memory.dmp

        Filesize

        31.7MB

      • memory/2572-11-0x0000000000230000-0x0000000000330000-memory.dmp

        Filesize

        1024KB

      • memory/2608-12-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2608-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2608-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2608-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2608-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2608-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2640-2-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/2640-6-0x0000000000400000-0x00000000023AC000-memory.dmp

        Filesize

        31.7MB

      • memory/2640-7-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/2640-1-0x0000000002560000-0x0000000002660000-memory.dmp

        Filesize

        1024KB

      • memory/2640-4-0x0000000000400000-0x00000000023AC000-memory.dmp

        Filesize

        31.7MB