Coder Social home page Coder Social logo

ossec-docs's People

Contributors

aremai avatar atomicturtle avatar awiddersheim avatar calve avatar cgzones avatar christianbeer avatar commanderrikker avatar cvquesty avatar ddpbsd avatar dgw avatar drahosj avatar egypcio avatar gasp avatar herzogin-arathi avatar jbcheng avatar jrossi avatar jsoref avatar lmayorga1980 avatar mig5 avatar mlissner avatar mweigel avatar nbuuck avatar northox avatar oscarschneider avatar philip avatar rpremuz avatar santiago-bassett avatar seb-solon avatar vendetta547 avatar vichargrave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ossec-docs's Issues

release notes update for ancient versions of MS Windows

Reminder that the post-2.9 release notes will eventually need to mention MS Windows versions OLDER than XP will probably not be able to run the OSSEC agent:

Support dropped for older MS Windows versions. OSSEC MS Windows agents now use the ws2_32 library for IPv6 support. This library is not available on Windows versions older than XP (WINVER < 0x0501) such as Windows ME and Windows 2000.

The agent is useless without the manager

Be more insistent that the agent software is useless without the server side. This might be less of an issue if the Windows agent installation manual wasn't blank, but Windows users don't write documentation.

From JB, based on emails he gets from random "professionals."

PCRE2 regexp matching not working properly

Following the docs, with the newest version of ossec running, i'm triying to create a custom rule with this expresion

(.*\.){7,}

I'm following the pcre2 syntax, but no matchings when i run my tests (i have used diferent online regexp engines and verify that the regexp it's correct and may verify my tests)

To test it i use the binary ossec-regex and get:

~# /var/ossec/bin/ossec-regex '(.*\.){7,}'
mi.de.que.me.dice.sel.que.de.es.gob.mu

It give me no results, nothing happens.

I have tested that the binnary works

~# /var/ossec/bin/ossec-regex '^a'
antonio
+OSRegex_Execute: antonio
+OS_Regex       : antonio
+OSMatch_Compile: antonio
+OS_Match2      : antonio

What i'm doing wrong, any help will be useful.

Thanks in advance.

Skip_nfs mentioned incorrectly in 2.8.1 documentation

Discovered this issue while trying to sort out my issue with nfs monitoring by OSSEC.

Posted in mailing list and got response to post issue here.

https://groups.google.com/forum/#!topic/ossec-list/ieZD7Plv3gI

per the quote from ddpbsd -- "Actually it looks like 2.8.1 was released Sept 9, 2014, and this was added Feb 13, 2015. So it's not available in 2.8.1. Please create an issue at the ossec docs github, and I'll try to mark it as such soon."

Document the changes to behavior in ossec/ossec-hids PR#657

Basically, this pull request allows you to do this:

 <directories check_all="yes" check_perms="no">/etc</directories>

Which will enable all checks except for the permissions checking. The previous behavior would have left the permissions checking enabled.

Rule 5710 fire on the unwanted event "SSHD authentication failed"

Hi,

Sorry per advance but I'm not a developper, I'm not familiar with github, and I'm not not an expert in english, but I'm full of goodwill.


  <rule id="5710" level="5">
    <if_sid>5700</if_sid>
    <match>illegal user|invalid user</match>
    <description>Attempt to login using a non-existent user</description>
    <group>invalid_login,authentication_failed,</group>
  </rule>

...

 <rule id="5716" level="5">
    <if_sid>5700</if_sid>
    <match>^Failed|^error: PAM: Authentication</match>
    <description>SSHD authentication failed.</description>
    <group>authentication_failed,</group>
  </rule>

...

  <rule id="5720" level="10" frequency="6">
    <if_matched_sid>5716</if_matched_sid>
    <same_source_ip />
    <description>Multiple SSHD authentication failures.</description>
    <group>authentication_failures,</group>
  </rule>

There's an issue with the rule 5710.
It fire when there is a login attempt using a non-existent user. That's normal. It's the designed behavior.
But it also fire on an "SSH authentication failure". That's not a desirable behavior because it prevent the rule 5716 "SSHD authentication failed." to fire and then the rule 5720 "Multiple SSHD authentication failures" to fire, so that an offender will never be blocked if he make multiple SSH authentication failure from a non existent user.

Example in my auth.log :

Sep 20 03:42:51 server sshd[4760]: Invalid user iop from 213.202.228.66
Sep 20 03:42:51 server sshd[4760]: input_userauth_request: invalid user ghost [preauth]
Sep 20 03:42:52 server sshd[4760]: pam_unix(sshd:auth): check pass; user unknown
Sep 20 03:42:52 server sshd[4760]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=213.202.228.66
Sep 20 03:42:54 server sshd[4760]: Failed password for invalid user ghost from 213.202.228.66 port 45313 ssh2

The key word "invalide user" is not enought restrictive in the rule 5710

Regarding my auth.log, I suggest to replace :
<match>illegal user|invalid user</match>
by :
<match>illegal user|^Invalid user</match>
or <match>illegal user|: invalid user</match>

This would make the rule 5710 to fire only on the first or second line (i.e only on a login attempt).

Thank you and sorry if you don't understand what I mean but it's very difficult for me to explain a such thing in english.

Regards.

Include Warning About Relay Restrictions e.g. Google Gmail

A recurring theme in issues opened in ossec/ossec-hids is users attempting to relay their alerts through Gmail without conforming to Google's requirements. A generic warning somewhere beneath https://ossec.github.io/docs/manual/output/email-output.html or one of the pages it links to about these restrictions could help stymie these recurring issues.

As another example, Exchange Online has specific encryption and authentication requirements depending on the source and destination domains: https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4

doc wrong

At ossec-docs/docs/manual/output/json-alert-log-output.rst
20160811132023

etc/ossec.conf is correct

Where did the docs go?

The old docs at readthedocs actually have all the sections and drill downs filled in.

I keep running into missing docs that used to exist here on the new site

Compare the Syslog Output Docs
Old Site - Has all the details
New Site - Might as well not exist

What happened to the docs? I relied on them pretty heavily, but now the officially linked docs aren't there anymore.

Is the old database of rules still available anywhere? (related to Web UI)

I know Web UI is not developed anymore, but I'm doing some work on it for our internal use. Latest events section links each rule to an old docs search page. It no longer works. Is that information still available anywhere else? Here's an example where they link:
http://ossec-docs.readthedocs.io/en/latest/search.html?q=rule-id-2502

I want to clean it up, so I'm trying to figure out if I should point it somewhere else or just remove link.

Thanks.

Mark use_fqdn as 2.9

It doesn't appear to be in 2.8. Prompted by an issue asking about 2.8.x not having it.

Weekday should be replaced by weekdays

Hi all,

Seems that there is a typo in docs where tag shows that weekday and weekend are possible values. They should be replaced in the documentation by weekdays and weekends.

PS. Already reported partially on #163

postgresql log format needs changing on ubuntu

The posgresql_log decoder expects the log_line_prefix string in postgresql.conf to be:

log_line_prefix = '[%t] %h '

This is not necessarily going to be the case with out of the box postgresql installs. For example, postgresql 9.3 on ubuntu server 14.04 has:

log_line_prefix = '%t '

There is no right or wrong prefix to use, but it would be useful to indicate in the ossec documentation the prefix string which is required for ossec decoder to process.

release notes update for db schema change

Reminder that the post-2.9 release notes will need to mention several database fields have changed to accomodate IPv6 addresses and an existing database will need to be updated.

IP addresses are now stored in the database as character strings instead of integers. To convert an existing database, run the convert-db-ipv6.sql script (found in src/os_dbd).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.