Malware self Distructs when sandboxed to avoid analysis

Many pieces of malware have mechanisms for detecting whether they have been placed in a sandbox for further analysis. When sandboxing is detected, they typically self-distruct by deletion or corruption, in order to avoid being studied and reverse engineered. Similarly, in the short story titled “There Is No Antimemetics Division”, a meme is described which when consciously registered, it triggers some debilitating reactions, avoiding mental examination. Alternatively, it is simply forgotten, yet this would be counterproductive.