Security

Wireless / WiFi

Crypto

Hacking

Communication

Mobile

Authentication

Two-factor authentication

Spectre and Meltdown attacks

  • According to information from Intel, hardware fixes for Meltdown & Spectre v2 are provided in Cannon Lake & Cascade Lake (8th generation) processors.
  • To list all applicable / compatible microcodes run:
    # iucode-tool -S -l /lib/firmware/intel-ucode
    iucode-tool: system has processor(s) with signature 0x000006e8
    ...
    selected microcodes:
      110/001: sig 0x000006e8, pf_mask 0x20, 2005-11-15, rev 0x0039, size 4096
      059/001: sig 0x000006ec, pf_mask 0x80, 2006-09-12, rev 0x0059, size 4096
      059/002: sig 0x000006ec, pf_mask 0x20, 2006-05-01, rev 0x0054, size 4096

NFC-платежи

HTML

SSL

Solutions:

SSL Certificate Authorities

  • Let's Encrypt offers a 90-days trial SSL certificate for free

    Install Let’s Encrypt certificate using ACME client

  • GlobalSign offers SSL certificate for free for OpenSource project
  • NameCheap / Comodo offers SSL certificate for $7.50/year
  • SSLMate offers SSL certificate for $16/year
  • Бесплатные SSL-сертификаты на 2 года с поддержкой до 100 доменовNew WoSign and StartCom certificates are distrusted if issued after 21.10.2016 starting from Firefox 51 (see StartCom for more information related to other browsers). To add back support to Firefox download root CA certificate1) and install it to Firefox (Options → Advanced → Certificates tab → View Certificates → Authorities tab → Import).

KeePass

PGP

How to force GPG to read passphrase from console?

It should be mentioned that this extra security measure was implemented in GPGv2 to be sure that user input is not intercepted. From maillist:

It should be noted however that such behaviour trades convenience for security. That is because an X window provided by GTK/QT pinentries is able to grab input globally, whereas pinentry-curses is not. It would be therefore possible for a malicious application to hijack and record passphrase being given to pinentry curses in X terminal.

To disable the pinentry GUI window:

Alternatively one can download GPGv1 CLI from this FTP site (e.g. gnupg-w32cli-1.4.18.exe).

See also GPG key management operations via the agent considerations.

GPG agent log entries

In cron log the following shows up on every opened SSH session:
systemd[10575]: Closed GnuPG network certificate management daemon.
systemd[10575]: Closed GnuPG cryptographic agent (access for web browsers).
systemd[10575]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
systemd[10575]: Closed GnuPG cryptographic agent (ssh-agent emulation).
systemd[10575]: Stopped target Timers.
systemd[10575]: Closed GnuPG cryptographic agent and passphrase cache.

Use the following command to disable GPG agent (taken from bug#850982):

systemctl --global mask --now gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket

See also /usr/share/doc/gnupg-agent/README.Debian.

PDF

How to digitally sign PDF?

From Digitally signing PDF files:
  • Convert PEM certificate to PFX format:
    openssl pkcs12 -export -in cert.pem -out cert.pfx
  • Download PortableSigner
  • :OPT: Merge all JARs into one uberjar. As JCE provider JARs must be signed, all the following to jre\lib\security\java.security (ordering may vary):

    java.security

    security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider

    otherwise execution will fail with the following message:

    Error reading certificate (wrong password)
            error constructing MAC: java.lang.SecurityException: JCE cannot authenticate the provider BC
    Error creating keystore
            error constructing MAC: java.lang.SecurityException: JCE cannot authenticate the provider BC
  • Run
    java -jar PortableSigner.jar -n -t input.pdf -o output.pdf -s cert.pfx -p secret_password -c "Final revision" -r "Approved for publication" -l "Department of public relations"

Alternatively one can use LibreOffice v5.3 or higher:

  • LibreOffice uses Firefox or Thunderbird profile to lookup for personal certificates, see Applying Digital Signatures concerning how to import one.
  • Choose File → Digital Signatures → Sign Existing PDF, select PDF, then click on Sign Document on appeared notice message.
  • Click on Sign Document, click Sign Document… in the bottom of the dialog, select certificate, click OK. Click Close to close Digital signatures dialog – PDF document is written back.

See also:

Kaspersky antivirus

How to disable notification about registration?

From Напоминание о регистрации:

Run one of the reg files below with self-protection off and then reboot:

For 64-bit systems:

REGEDIT4
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\KasperskyLab\protected\AVP14.0.0\OlaFormScheduler]
"enabled"=dword:0

For 32-bit systems:

REGEDIT4
 
[HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\protected\AVP14.0.0\OlaFormScheduler]
"enabled"=dword:0

Activation code is invalid for this region

Solution:



1) All certificates are listed here
software/security.txt · Last modified: 2015/03/15 22:11 by dmitry
 
 
Recent changes RSS feed Driven by DokuWiki