Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DNS Event Support #16

Open
cthulhusec opened this issue Aug 15, 2019 · 2 comments
Open

Add DNS Event Support #16

cthulhusec opened this issue Aug 15, 2019 · 2 comments
Labels
good first issue Good for newcomers schema Add a field to the schema or a data source

Comments

@cthulhusec
Copy link

Add DNS events to the Security Events schema and the mapping for Sysmon conversion.

Field mappings

query_name = "QueryName"
query_results = "QueryResults"
query_status = "QueryStatus"

I think the rest should be generic fields already mapped.

@rw-access
Copy link
Contributor

For reference to this thread, here's an example event from OSSEM
https://github.com/Cyb3rWard0g/OSSEM/blob/master/data_dictionaries/windows/sysmon/event-22.md

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Sysmon" Guid="{5770385F-C22A-43E0-BF4C-06F5698FFBD9}" /> 
    <EventID>22</EventID> 
    <Version>5</Version> 
    <Level>4</Level> 
    <Task>22</Task> 
    <Opcode>0</Opcode> 
    <Keywords>0x8000000000000000</Keywords> 
    <TimeCreated SystemTime="2019-06-12T00:57:56.373798200Z" /> 
    <EventRecordID>6612437</EventRecordID> 
    <Correlation /> 
    <Execution ProcessID="2312" ThreadID="3252" /> 
    <Channel>Microsoft-Windows-Sysmon/Operational</Channel> 
    <Computer>DESKTOP-WARDOG.RIVENDELL.local</Computer> 
    <Security UserID="S-1-5-18" /> 
  </System>
  <EventData>
    <Data Name="RuleName" /> 
    <Data Name="UtcTime">2019-06-12 00:57:55.254</Data> 
    <Data Name="ProcessGuid">{A98268C1-4DDF-5D00-0000-00102D794100}</Data> 
    <Data Name="ProcessId">416</Data> 
    <Data Name="QueryName">chrome.google.com</Data> 
    <Data Name="QueryStatus">0</Data> 
    <Data Name="QueryResults">type: 5 www3.l.google.com;172.217.7.206;</Data> 
    <Data Name="Image">C:\Program Files (x86)\Google\Chrome\Application\chrome.exe</Data> 
  </EventData>
</Event>

I think normalizing the QueryResults will be a little tricky, because we'll probably want something a little more structured. Maybe an array of just the IPs for now?

@rw-access rw-access added good first issue Good for newcomers schema Add a field to the schema or a data source labels Aug 16, 2019
@cthulhusec
Copy link
Author

@rw-access What are your thoughts on a more structured format? I'm not sure what all we could use here. How is it currently being done in Endgame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers schema Add a field to the schema or a data source
Projects
None yet
Development

No branches or pull requests

2 participants