Created the Monday 18 March 2019. Updated 3 years, 6 months ago.

Base64 is used to represent binary data in an ASCII string. This is a simple encoding and commonly found into malware.

Technique Identifier


Technique Tag


Code Snippets

package main

import (

func main() {

    arg1 := os.Args[1]

    encoded := base64.StdEncoding.EncodeToString([]byte(arg1))

    decoded, err := base64.StdEncoding.DecodeString(encoded)
    if err != nil {

Additional Resources

External Links

Subscribe to our Newsletter

The information entered into this form is mandatory. It will be subjected to computer processing. It is processed by computer in order to support our users and readers. The recipients of the data will be :

According to the Data Protection Act of January 6th, 1978, you have at any time, a right of access to and rectification of all of your personal data. If you wish to exercise this right and gain access to your personal data, please write to Thomas Roccia at

You may also oppose, for legitimate reasons, the processing of your personal data.