Morpheus

Administrators
  • Content count

    602
  • Joined

  • Last visited

  • Days Won

    101

Posts posted by Morpheus


  1. The WinIDS installation includes a Rules Updater utility (located in the WinSnort group in the Start Menu). By default, this utility performs a standard rule sync with Sourcefire and applies updates automatically.

    For administrators who require remote monitoring, the utility includes an optional Email Utility. When activated, it sends a status report to a designated email address, confirming whether rules were updated, already current, or if a validation error occurred.


    Configuration Procedure

    To activate and configure the email notification system, follow these steps:

    1. Open the Script for Editing

    Navigate to your WinIDS installation directory and locate the PowerShell script:

    • Path: \scripts\rules-update.ps1
    • Action: Right-click the file and select Edit (or open it with Notepad/VS Code).

    2. Enable the Mail Utility

    Locate the User Configuration section at the top of the script. Change the $sendmail value from 0 to 1:

    $sendmail = 1  # Activates the email reporting feature

    3. Configure SMTP Settings

    Input your mail server details between the quotes in the configuration block:

    • $smtpServer: Your mail server address (e.g., smtp.gmail.com or internal relay IP).
    • $smtpPort: Use 587 for SSL/TLS or 25 for standard internal relays.
    • $smtpUser / $smtpPassword: Enter valid credentials if your server requires authentication.
    • $from / $to: Enter the sender and recipient email addresses.

    4. Save and Test

    1. Save the file.
    2. Open the Start Menu and navigate to the WinSnort group.
    3. Click the Rules Updater link to execute the script.
    4. Observe the console output. If successful, you will see:

    An Email report of the Rules update has been sent...


    Troubleshooting & Support

    • Execution Policy: Ensure the script is run with Administrative privileges.
    • Port Blocking: If using Port 25, ensure your antivirus or firewall is not blocking outbound SMTP traffic from PowerShell.
    • Logs: Check the \pulledpork\log\ folder for detailed execution logs if an update fails.

    Technical Support:

    Issues during setup, please visit the WinSnort.com Forums under the Auto-Installer section for community-led support and troubleshooting tips.


  2. If the High-Volume Logging/Testing option was enabled during the initial Auto-Installer setup, the system likely generated a significant number of events.

    While this setting is an excellent diagnostic tool to verify that the Windows Intrusion Detection System (WinIDS) is actively receiving data—especially in environments where default traffic might take hours to trigger an alert—it is recommended to revert to the default policy once connectivity is confirmed.

    Procedure to Restore Default Rule Policy

    Follow these steps to deactivate the testing rules and return to the standard configuration:

    1. Modify Configuration:

      • Navigate to the Pulledpork\etc folder via File Explorer.

      • Right-click enablesid.conf and open it with Notepad.

      • Locate the line beginning with pcre:.

      • Comment out the line by adding a # at the start (e.g., # pcre:.)

      • Save and exit.

    2. Clear Temporary Files:

      • Navigate to the Pulledpork\temp folder.

      • Delete the two files located in this directory.

      • Close File Explorer.

    3. Update Rule Set:

      • Open the Start Menu and locate and open the WinSnort folder.

      • Run the Rules Updater.

    This process will fetch the latest rule definitions and reconfigure Snort to the default policy setting, ensuring optimal performance and manageable log volumes.


  3. You will need to bridge the two NIC's and in Windows 10 do it as below:

    Bridging Your Internet Connections on Windows 10

    Step 1: Go to your Control Panel from the Start menu.

    Step 2: Navigate to Network Connections.

    Step 3: Click on the first NIC that you want to bridge.

    Step 4: Hold down the CTRL key while clicking on the second NIC that you want to bridge.

    Step 5: Right-click on one of the selected NICs and click "Bridge Connections."

    I have not tested the above on anything other than Windows 10.


  4. The problem is that it is not finding the base.php file, or possibly the base_conf.php file? It has to find the file first before trying to execute it.

    Not sure if it could be the problem but make sure the config file is correctly named: base_conf.php

    Maybe some sort of a permission problem with the files in the base folder?

    Not sure how a permission problem could be the problem when the test.php file is working.

    You are going to have issues with WinPcap and Npcap both installed. Use either one but not both.

    Note: Uninstall both and then install the one you are going to use. Make sure Snort is not running when you uninstall.


  5. Go back in and verify the PHP setting in IIS. For some reason the setting sometime does not save and the settings need to be re-applied. No need to reinstall because the same problem could come back.

    I checked your setting and the php.ini file is good but the IIS files are for version 10 and I don't have that set of configs to match yours with. I would need to install IIS 10 to get it. What OS version are you running?


  6. 3 hours ago, FDids said:

    Hi,

    Thanks for replying that everything is fixed but:

    I apologize for being dense, but I am not sure what to do next  to fix my barnyard2 installation so that snort does show exiting.  I downloaded the latest Winids Barnyard2 Software Development Pack,  winids-b2sdp.zip.  Do I unzip it and use the barnyard2.master.zip in place of the other builds?  Do I need to start over and redo my installation? Is there another file I should download? 

    Thanks for all your help!

    Bob

    No you don't need to do anything. What you are seeing is correct. I made an error in the tutorial and have since corrected it. Check out the tutorial, and it should match your install.

    FDids likes this