--- title: MISP 2.4.172 released with new TOTP/HTOP authentication, many improvements and bugs fixed date: 2023-06-13 layout: post banner: /img/blog/dashboard-new.png --- We are pleased to announce the immediate availability of [MISP v2.4.172](https://github.com/MISP/MISP/releases/tag/v2.4.172) with new TOTP/HTOP authentication, many improvements and bugs fixed. # Time-based and Single Use One-time password support (TOTP / HOTP) New TOTP support are now included in MISP. This functionality works in two modes: - (default) optional (T/H)OTP for users (when required libraries are installed) - (optional) mandatory (T/H)OTP for all users When logging in the user can enter either the TOTP or the HOTP (one time paper token) OTP attempts are also limited by the Bruteforce component. So multiple failed attempts will result in a temporary blocking. HTOP is available for recovery and also for security environment where mobile phone or electronic devices are forbidden. User can generate TOTP through their Profile page: ![image](https://github.com/MISP/MISP/assets/1073662/ceba1dba-694d-4c77-bc08-232766e6dd00) A QR code is generated and they need to fill in the code once to confirm all is well: ![image](https://github.com/MISP/MISP/assets/1073662/69e5362c-02f5-4707-b429-6797683d9bdf) Then they get directed to the page containing their next 50 HOTP/paper tokens: ![image](https://github.com/MISP/MISP/assets/1073662/22cd6bdd-5309-4e53-9411-b6cb19ff73c6) Their profile then shows they have a token, they can also check again what their paper tokens are: ![image](https://github.com/MISP/MISP/assets/1073662/faeb286f-eddb-4e98-ba91-ec315f198b14) So does the admin page (the phone icon) ![image](https://github.com/MISP/MISP/assets/1073662/0a9af5cd-99cb-467e-af4a-36a8d57438c3) (org)Admins can delete the secret of a user: ![image](https://github.com/MISP/MISP/assets/1073662/90c5977d-c6e9-445d-bc5f-81e9ac0ed35a) When they have their TOTP secret, after user/pass window they are prompted to enter the or the HOTP. ![image](https://github.com/MISP/MISP/assets/1073662/4dc4fbc2-ad7b-4b90-a83b-9a6034e9f64f) Logging is also generated: ![image](https://github.com/MISP/MISP/assets/1073662/4952cf9b-8605-46f3-9aba-bfe2b1a179b5) The `MISP.totp_required` security setting allows enforcing TOTP for the whole MISP instance. In this case users are invited to store their TOTP at next login. They cannot access any other page until they validated the TOTP. The server wide parameter has a beforeHook to ensure the required PHP libraries are installed, as otherwise the admin might lock themselves out. Requires 2 additional PHP libraries to be installed through composer: - "spomky-labs/otphp" - "bacon/bacon-qr-code" # Other updates and changes in the MISP project ## Roles and permission - [role permission] updated for viewing feed correlations - added additional role permission - allows hiding feed correlations from users - main purpose is with very large instances, to reduce the load on redis ## TAXII preview - [taxii preview] Browse a taxii server and view the data it contains. [iglocska] - browse collections - browse contents of the individual collections and paginate through the data ## Dashboard - [usage data widget] added a global caching for attribute counts. ## Bugs/performance - [performance] fix for events with large numbers of attributes and multiple tags from the same taxonomy. [iglocska] - the taxonomy conflict checks were causing multiple issues: - non taxonomy tags were counted as a taxonomy with namespace '' - once we identified a tag pair that could cause a conflict (same taxonomy) we loaded the taxonomy into redis - however, in order to see if we already have the taxonomy loaded, we went to redis to do a GET - In the case of 1 million attributes with at least 1 tag pair, at the minimum this means 1 million GETs on reddit with an event - Resolution - remove the checks for non taxonomy tags - store the identified taxonomies temporarily on the model itself in memory - only go to redis when the model doesn't have the taxonomy cached in memory - still using the old approach when dealing with multiple small events - thanks to @github-germ for flagging the issue ## MISP Objects and Relationships - New object for [scanning result](https://www.misp-project.org/objects.html#_scan_result) (network and local). - New object for [CrowdSec Threat Intelligence - IP CTI search.](https://www.misp-project.org/objects.html#_crowdsec_ip_context). - New object for [Cobalt Strike Beacon Config](https://www.misp-project.org/objects.html#_cs_beacon_config) For more details, the [misp-object changelog](https://www.misp-project.org/Changelog-misp-objects.txt) is available. ## MISP Galaxy - Updated [attck4fraud](https://github.com/MISP/misp-galaxy/blob/main/clusters/attck4fraud.json) updated with [EAST data](https://www.association-secure-transactions.eu/). - Updated [Malpedia](https://github.com/MISP/misp-galaxy/blob/main/clusters/malpedia.json) information. - Updated [Threat actor](https://github.com/MISP/misp-galaxy/blob/main/clusters/threat-actor.json) database. For more details, the [misp-galaxy changelog](https://www.misp-project.org/Changelog-misp-galaxy.txt) is available. ## MISP warning-lists - Updated warning-lists for all sources. For more details, the [misp-warninglists changelog](https://www.misp-project.org/Changelog-misp-warninglists.txt) is available. ## MISP taxonomies - Updated [workflow taxonomy](https://www.misp-project.org/taxonomies.html#_workflow). - Added [information-origin](https://www.misp-project.org/taxonomies.html#_information_origin) Taxonomy for tagging information by its origin: human-generated or AI-generated. - Added [crowdsec](https://www.misp-project.org/taxonomies.html#_crowdsec) - Crowdsec IP address classifications and behaviors taxonomy. For more details, the [misp-taxonomies changelog](https://www.misp-project.org/Changelog-misp-taxonomies.txt) is available. # Don't forget to follow us on Mastodon The MISP projet has its own Mastodon server [misp-community.org](https://misp-community.org/) - don't forget to follow @misp@misp-community.org on the fediverse. Core contributors of MISP can sign-up if they wish to have an account. # MISP Professional Services [MISP Professional Services (MPS)](https://www.misp-project.org/professional-services/) is a program handled by the lead developers of MISP Project, in order to offer highly skilled services around MISP and to support the sustainability of the MISP project. This initiative is meant to address the policy requirements of companies/organisations requiring commercial support contracts. Don't hesitate to get in touch with us if you need specific services.