ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. kemal.tunc
    K
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 3
    • Controversial 0
    • Groups 0

    kemal.tunc

    @kemal.tunc

    3
    Reputation
    25
    Profile views
    6
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    kemal.tunc Unfollow Follow

    Best posts made by kemal.tunc

    • Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      I started writing rules. I am trying to understand logically. I started by copying the Windows rule.

      But I want to write a special rule according to the log I have received.

      Can you help me

      or can you say my wrong points

      sorry for broken english

      Log :

      172.20.10.6 - - [18/Jun/2020:11:30:38 +0000] "HEAD /sitecore/admin/ShowConfig.aspx HTTP/1.1" 404 1824 "-" "Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)"

      decoder:

      <decoder name="example">
      <program_name>^example</program_name>
      </decoder>

      <decoder name="example">
      <type>web-log</type>
      <parent>example</parent>
      <prematch>\W*((?i)Nmap Scripting Engine(?-i))\W*</prematch>
      <regex>\W*((?i)Nmap Scripting Engine(?-i))\W*</regex>
      <order>nmap, webatacck</order>
      </decoder>

      rule :
      <group name="example,">
      <rule id="100010" level=“5”>
      <program_name>example</program_name>
      <regex>"[NHTTP]\w\W\w\S\w\S....."</regex>
      <description>Nmap Scripting Web Attack</description>
      <group>attack,pci_dss_11.4,gdpr_IV_35.7.d,nist_800_53_SI.4,</group>
      </rule>
      </group>

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      What log file is storing this?

      apache

      If I replace nginx section with apache?

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      @IRJ

      based on this value, the rule worked

      <if_matched_sid>31101</if_matched_sid>

      <!-- Local rules -->
      <!-- Modify it at your will. -->
      <!-- Copyright (C) 2015-2020, Wazuh Inc. -->
      <!-- Example -->
      <!-- ################################### -->
      <!-- # NMAP Detection Rule # -->
      <!-- ################################### -->
      <group name="NMAP_Security_Correlations,">
      <rule id="100100" level="10">
      <if_matched_sid>31101</if_matched_sid>
      <match>Nmap Scripting Engine</match>
      <description>NMap Scripting Engine Detected</description>
      <location>/var/log/apache2/access.log</location>
      </rule>
      </group>

      0245-web_rules.xml

      I examined and combined but I did not understand the logic

      posted in IT Discussion
      K
      kemal.tunc

    Latest posts made by kemal.tunc

    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      @IRJ

      based on this value, the rule worked

      <if_matched_sid>31101</if_matched_sid>

      <!-- Local rules -->
      <!-- Modify it at your will. -->
      <!-- Copyright (C) 2015-2020, Wazuh Inc. -->
      <!-- Example -->
      <!-- ################################### -->
      <!-- # NMAP Detection Rule # -->
      <!-- ################################### -->
      <group name="NMAP_Security_Correlations,">
      <rule id="100100" level="10">
      <if_matched_sid>31101</if_matched_sid>
      <match>Nmap Scripting Engine</match>
      <description>NMap Scripting Engine Detected</description>
      <location>/var/log/apache2/access.log</location>
      </rule>
      </group>

      0245-web_rules.xml

      I examined and combined but I did not understand the logic

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      nothing changed

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      after the rule, realized

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      unfortunately didn't show

      ip - - [02/Jul/2020:14:14:40 +0000] "HEAD /modelsearch/login.cfm HTTP/1.1" 404 1374 "-" "Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)"
      

      /var/log/apache2/access.log

      <group name="NMAP_Security_Correlations,">
      <rule id="100100" level="5">
      <match>Nmap Scripting Engine</match>
      <description>NMap Scripting Engine Detected</description>
      <location>/var/log/apache2/access.log</location>
      </rule>
      </group>

      Ekran Resmi 2020-07-02 17.21.39.png

      wazuh-manager restart done

      posted in IT Discussion
      K
      kemal.tunc
    • RE: Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      What log file is storing this?

      apache

      If I replace nginx section with apache?

      posted in IT Discussion
      K
      kemal.tunc
    • Wazuh when I write the rule I encounter with a problem (Nmap Scripting

      I started writing rules. I am trying to understand logically. I started by copying the Windows rule.

      But I want to write a special rule according to the log I have received.

      Can you help me

      or can you say my wrong points

      sorry for broken english

      Log :

      172.20.10.6 - - [18/Jun/2020:11:30:38 +0000] "HEAD /sitecore/admin/ShowConfig.aspx HTTP/1.1" 404 1824 "-" "Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)"

      decoder:

      <decoder name="example">
      <program_name>^example</program_name>
      </decoder>

      <decoder name="example">
      <type>web-log</type>
      <parent>example</parent>
      <prematch>\W*((?i)Nmap Scripting Engine(?-i))\W*</prematch>
      <regex>\W*((?i)Nmap Scripting Engine(?-i))\W*</regex>
      <order>nmap, webatacck</order>
      </decoder>

      rule :
      <group name="example,">
      <rule id="100010" level=“5”>
      <program_name>example</program_name>
      <regex>"[NHTTP]\w\W\w\S\w\S....."</regex>
      <description>Nmap Scripting Web Attack</description>
      <group>attack,pci_dss_11.4,gdpr_IV_35.7.d,nist_800_53_SI.4,</group>
      </rule>
      </group>

      posted in IT Discussion
      K
      kemal.tunc