Analysis

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

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 13:19

General

  • Target

    0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4.exe

  • Size

    258KB

  • MD5

    c604511f8c117ca36984e8aa66ac0a71

  • SHA1

    7ce156eb70e31fbdf62c3d7e60e6eefff7b21c7d

  • SHA256

    0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4

  • SHA512

    031ffc652bd29c52b8ea733fa6a9e37c9908798d4121d0452c2e0207d17086f43451c273b686ef4c086fc859fe6cf906e403bd09008b11cfc2498ec338ae3441

  • SSDEEP

    3072:xkh5eI/cSz90u2DEJClClQoyLwETsrw/eEOobr6e7AXa2jyQfEBw0coqY7IQPJUD:xkh+BEQ0SBTRVOobrPXYES0cWEQRER

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

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 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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).

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4.exe
    "C:\Users\Admin\AppData\Local\Temp\0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ybntagzv\
      2⤵
        PID:2204
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oeapkcai.exe" C:\Windows\SysWOW64\ybntagzv\
        2⤵
          PID:2056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ybntagzv binPath= "C:\Windows\SysWOW64\ybntagzv\oeapkcai.exe /d\"C:\Users\Admin\AppData\Local\Temp\0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ybntagzv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ybntagzv
          2⤵
          • Launches sc.exe
          PID:2576
        • 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:2620
      • C:\Windows\SysWOW64\ybntagzv\oeapkcai.exe
        C:\Windows\SysWOW64\ybntagzv\oeapkcai.exe /d"C:\Users\Admin\AppData\Local\Temp\0becc5527aba7dc1a746846fc3a2b62f2e46568819b2259d4474eb16e96b9be4.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2860
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2644

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        65977bd73f2b15d464b96417869eb591

        SHA1

        5a9cb689a53d9ce16fbedca78c6a7de440c82456

        SHA256

        db90b66dc3a84e81778155774b4df95b970efd0d79d3adf5814af182d6e4726f

        SHA512

        03e2e5296a7aae19775ce91d8dcbbe34b710c3117ca82cd5df42ebb95722eae15f2bfaf18d0c53741ccd50cb597c94a244e5624ac2421509c887b903d766c965

      • memory/2416-18-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2416-3-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2416-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

        Filesize

        1024KB

      • memory/2416-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2644-35-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-37-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-62-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2644-9-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2644-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2644-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2644-58-0x0000000000240000-0x0000000000247000-memory.dmp

        Filesize

        28KB

      • memory/2644-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2644-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2644-23-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2644-26-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2644-27-0x0000000000210000-0x0000000000216000-memory.dmp

        Filesize

        24KB

      • memory/2644-30-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-33-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-34-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-57-0x0000000005490000-0x000000000589B000-memory.dmp

        Filesize

        4.0MB

      • memory/2644-36-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-54-0x0000000005490000-0x000000000589B000-memory.dmp

        Filesize

        4.0MB

      • memory/2644-38-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-39-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-40-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-41-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-42-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-43-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-44-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-45-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-46-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-47-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-48-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-49-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2644-50-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/2644-53-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/2860-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2860-8-0x00000000002F0000-0x00000000003F0000-memory.dmp

        Filesize

        1024KB

      • memory/2860-15-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2860-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB