Commit Graph

108 Commits

Author SHA1 Message Date
SimSama c37ae60cff Merge branch 'master' into master 2022-03-16 16:29:34 -05:00
Tim Shelton eefd026037 Merging latest changes for HAWK.IO 2022-03-16 20:26:49 +00:00
Mei Liu cbda88fcbb Example:
-O:
attackMapFile: It's used to set subFunction in XML rule. It's a map of subFunction and tags.attack in YML file.
ruleIndex: It's used to set rule id in XML rule. The format of rule id is PH_Rule_{ruleType}_SIGMA_{ruleIndex}
ruleType: It's used to set rule id in XML rule.

1. Generate rule for one YML file
    a. tools/sigmac -t fortisiem -c fortisiem-windows rules/windows/network_connection/win_net_python.yml
    b. tools/sigmac -t fortisiem -c fortisiem-windows -O attackMapFile=tools/config/fortisiem/MITRE-Attack-matrix.csv -O ruleIndex=0 -O ruleType=Windows rules/windows/network_connection/win_net_python.yml
   Output:
      <Rules>
      <Rule group="PH_SYS_RULE_THREAT_HUNTING" natural_id="PH_Rule_Windows_SIGMA_0"  phIncidentCategory="Server" function="Security" subFunction="Discovery" technique="T1046">
         <Name>Python Initiated Connection </Name>
         <IncidentTitle>Python Initiated Connection</IncidentTitle>
         <active>true</active>
         <Description> Adversaries may attempt to get a listing of services running on remote hosts, including those that may be vulnerable to remote software exploitation </Description>
         <SigmaFileName> rules/windows/network_connection/win_net_python.yml </SigmaFileName>
         <CustomerScope groupByEachCustomer="true">
            <Include all="true"/>
           <Exclude/>
         </CustomerScope>
         <IncidentDef eventType="PH_RULE_Python_Initiated_Connection" severity="7">
           <ArgList> compEventType = Filter.eventType,hostName = Filter.hostName,isInitialed = Filter.isInitialed,procName = Filter.procName </ArgList>
         </IncidentDef>
         <PatternClause window="300">
           <SubPattern displayName="Filter" name="Filter">
               <SingleEvtConstr> eventType REGEXP ( "Win-Sysmon-3-Network-Connect.*" ) AND isInitialed="true" AND procName REGEXP ( ".*python.*" ) </SingleEvtConstr>
               <GroupByAttr> eventType,hostName,isInitialed,procName </GroupByAttr>
               <GroupEvtConstr> COUNT(*) &gt;= 1 </GroupEvtConstr>
           </SubPattern>
         </PatternClause>
         <TriggerEventDisplay>
           <AttrList> phRecvTime,hostName,isInitialed,procName,rawEventMsg </AttrList>
         </TriggerEventDisplay>
       </Rule>
       </Rules>

2. Generate rules for YML files under rules/windows
   a. tools/sigmac -t fortisiem -c fortisiem-windows -r rules/windows -o rule.xml
   b. tools/sigmac -t fortisiem -c fortisiem-windows -r rules/windows -O attackMapFile=tools/config/fortisiem/MITRE-Attack-matrix.csv -O ruleIndex=0 -O ruleType=Windows -o rule.xml
   Generate rules for YML files under rules/windows

3. Find files that is modified after some date.
  a. tools/sigmac --lists-files-after-date 2020/06/04 rules/windows/wmi_event/sysmon_wmi_susp_scripting.yml
  b. tools/sigmac --lists-files-after-date 2020/06/04 -r rules/windows/
  Output:
     rules/windows/wmi_event/sysmon_wmi_susp_scripting.yml, Updated
     rules/windows/wmi_event/TestFile.yml, No date
2022-03-08 17:16:08 -08:00
Anna Pauxberger 8fa714ca26 Merge branch 'SigmaHQ:master' into master 2022-01-03 20:20:08 +01:00
Florian Roth f5f613f371 Update README.md 2021-12-30 16:53:04 +01:00
Anna Pauxberger 9cd6e4f3d7 Change README 2021-12-02 10:20:17 -05:00
Florian Roth 916172de53 Update README.md 2021-10-23 23:09:35 +02:00
Yugoslavskiy Daniil 9b30b487c3 add ATC to the Projects or Products that use Sigma section 2021-08-23 04:25:29 +02:00
Lei Chen 4c3a7007e6 Update README.md 2021-08-07 21:13:19 +08:00
Lei Chen 932fe14cf6 Update README.md 2021-08-06 16:51:19 +08:00
Lei Chen 0078ee795b chore: update sigma ci badge
Replace travis-ci tatus badge with github actions tatus badge
2021-08-06 16:47:35 +08:00
thegoatreich dff7ad653a Add LogRhythm to supported targets 2021-07-17 11:02:32 +01:00
eocete 4b92dbb90d master: Added new Devo backend for the sigmac tool. Added three new backend configurations to support the Devo backend. Added a new test suite to cover the Devo backend cases. 2021-06-21 14:06:04 +02:00
Thomas Patzke 21e0fde61b Merge branch 'master' into master 2021-04-06 00:58:13 +02:00
Thomas Patzke 5f2ff99eea Replaced pip requirements with pipenv 2021-04-03 01:00:22 +02:00
jaegeral e1f43f17c2 fixed various spelling errors all over rules and source code 2021-02-24 14:43:13 +00:00
Florian Roth da570ba173 Merge pull request #1217 from noraj/patch-2
readme: package in linux distros
2021-02-08 09:29:08 +01:00
Florian Roth 08a5f400ba Update README.md 2021-02-07 15:27:59 +01:00
Florian Roth a314b54f93 docs: fix typo 2020-12-21 18:27:43 +01:00
Tiago Faria 93b06d5425 add SIEGMA and S2AN 2020-11-17 22:36:47 +00:00
Florian Roth 88e3de816d docs: uberAgent ESA target in README 2020-11-17 14:29:36 +01:00
Alexandre ZANNI c961fa046e readme: package in linux distros 2020-10-17 15:50:19 +02:00
Abhijit Khinvasara 1fc4a97ded Update target list in readme page 2020-10-02 17:18:06 -07:00
Florian Roth d3ee1aba66 docs: MITRE ATT&CK(R) trademark references removed or adjusted
https://github.com/Neo23x0/sigma/issues/1028
2020-09-30 08:53:52 +02:00
David Straßegger 1e8a5b64d9 added troubleshooting links to root README.md 2020-08-20 14:02:26 +02:00
bar 565f77c199 Added STIX target to README.md 2020-07-27 15:35:30 +03:00
Alexander J 839e06e37a s/straight forward/straightforward
Fix a typo.
2020-06-26 12:40:06 +02:00
Florian Roth 565febd39d README updated 2020-06-09 23:25:09 +02:00
Alexander J a7176d4811 replace --target-list with --lists
The description in the readme is outdated

````
sigmac --target-list
usage: sigmac [-h] [--recurse] [--filter FILTER]
              [--target {kibana,ala-rule,splunk,ala,splunkxml,fieldlist,graylog,es-rule,qualys,arcsight-esm,mdatp,netwitness,arcsight,elastalert-dsl,sql,carbonblack,xpack-watcher,limacharlie,qradar,logiq,powershell,grep,ee-outliers,elastalert,es-qs,es-dsl,logpoint,sumologic}]
              [--lists] [--config CONFIG] [--output OUTPUT]
              [--backend-option BACKEND_OPTION]
              [--backend-config BACKEND_CONFIG] [--defer-abort]
              [--ignore-backend-errors] [--verbose] [--debug]
              [inputs [inputs ...]]
sigmac: error: unrecognized arguments: --target-list

````
2020-05-18 08:11:16 +02:00
Florian Roth d25b8a0492 docs: remove GPL reference, DRL in README 2020-05-14 15:56:39 +02:00
Remco Hofman 2d3ee85c46 README updates 2020-05-08 10:40:41 +02:00
Thomas Patzke 551a94af04 Merge branch 'master' of https://github.com/tileo/sigma into pr-658 2020-04-08 22:43:48 +02:00
David Szili 0947538228 MDATP schema changes
WDATP was renamed to MDATP (Microsoft Defendre ATP).
MDATP also had schema changes recently: https://techcommunity.microsoft.com/t5/microsoft-defender-atp/advanced-hunting-data-schema-changes/ba-p/1043914
The updates reflect these changes
2020-03-09 17:12:41 +01:00
Florian Roth c4671f2225 docs: coverage illustration 2020-03-08 13:06:35 +01:00
Florian Roth 2363213fc9 add TimeSketch to list of products that use Sigma 2020-02-17 08:41:23 +01:00
Florian Roth 016d726d4e fix: bug in formatting 2020-02-02 11:31:39 +01:00
Florian Roth dcc7d03c37 docs: better description 2020-02-02 11:31:22 +01:00
Florian Roth 296cf6aa08 fix: fixed examples and added a new one 2020-02-02 09:27:56 +01:00
2d4d b98e57603e add rule for Citrix Netscaler CVE-2019-19781 2020-01-03 00:34:52 +01:00
christophetd e99b0fe2d7 Add sigma2attack 2019-12-19 00:00:13 +01:00
Maxime Lamothe-Brassard f01913c996 Adding LimaCharlie to the README's supported targets. 2019-10-28 14:48:04 -05:00
Florian Roth 439045a87b Reordered projects 2019-10-21 13:34:30 +02:00
Joe Security b815b15255 Update README.md
Added Joe Sandbox to list of supported Projects or Products.
2019-10-21 13:13:49 +02:00
Florian Roth bd93425639 Added Sumologic to list 2019-10-19 10:11:28 +02:00
Florian Roth 6513828cc1 Fix 2019-08-06 12:22:31 +02:00
Florian Roth 1fa2e59014 Extended contribution section 2019-08-06 12:22:03 +02:00
Alexander J 4d78b6c037 Add Contribute section
As @Neo23x0 was writing in Twitter, more contribution is needed, so a Contribute section seems reasonable to tell people how they can contribute.

https://twitter.com/cyb3rops/status/1158660279825252352
2019-08-06 11:36:54 +02:00
Thomas Patzke f3edc39535 Merge pull request #346 from tuckner/master
Add Azure Log Analytics / Azure Sentinel to README list of integrations
2019-05-28 21:41:19 +02:00
tuckner 7d10491bf2 Update README.md 2019-05-20 17:46:28 -05:00
tuckner 5867b5da74 Update README.md 2019-05-20 17:45:18 -05:00