Unfortunately that's beyond my pay-grade. I've never studied cancer in depth, only had a cursory overview. But a quick search of 'malignant cancer' brought up this:
https://www.verywellhealth.com/what-does-malignant-and-benign-mean-514240
Definition of Malignant Tumors: Cancerous
I'd assume a cancer cell can live and grow anywhere in the body where it has access to your standard nutrients from the bloodstream.
A friend once told me something to the effect that human tissue is made of cells, and that the containment of the cell makeup, which is defined by genes is exactly as it needs to be for each organ to function correctly - sort of like a bag that is full to it's maximum, if you will. She said that when the integrity of the organ is compromised and the cells have the availabilty to divide (reproduce), they will. The compromising of the containment of the cells is also why they migrate to different parts of the body and "invade" other organs where their function is foreign.
I' could be explaining this all wrong. So, sorry if it doesn't make much sense.
http://sphweb.bumc.bu.edu/otlt/MPH-Modules/PH/PH709_Cancer/PH709_Cancer7.html
In a nutshell:
Cancer cells are normal cells that have gone crazy.
Cells are well organized, and well regulated. Their growth and division is predictable, as is their natural death. Early in embryonic development, differentiation or specialization occurs and cells develop into specialized cells which continue to grown and divide into more of those same specialized cells which form organs, which have many layers of specialized cells that allow the organ (and the organism) to function appropriately. A muscle cell does not decide to become a nerve cell, etc. Normal cells also grow only until they bump up against another cell: they do not invade other cells. Normal cells stay in place: they do not break off and travel and set down roots in other areas. Normal cells/cell lines have a predictable lifespan. They undergo apoptosis, a programmed cell death that is a normal, controlled part of the cell's growth and development.
Cancer cells violate all of those rules.
A cancer cell loses its ability to self regulate. It may develop multiple nuclei and cell bodies within cells become disorganized and poorly functioning. It 'de-differentiates,' losing characteristics of the original cell.
A cancer cell proliferates, or divides and reproduces itself in an unpredictable manner, not following the 'rules' and patterns for its cell type. With each division the disorganization increases as damage to the cells' DNA accumulates.
A cancer cell invades other cells, rather than respecting the boundaries of another cell's membranes which normally signal a normal cell to stop its growth.
A cancer cell migrates or travels to other tissues and other parts of the body. This is called metastasis.
A cancer cell is immortal. It does not undergo apoptosis, programmed cell death. It can be killed but it no longer follows the normal life/death cycle of the original cell.
Different cancers have different features. Some cancers, such as some skin cancers, never or only very rarely metastasize and remain relatively contained.
There are mutations in your body's cells right now. Most of these mutations are eliminated by your body's immune system. Some are not and are harmless. Occasionally, some are not eliminated and are deleterious and become cancer. Many factors influence this, including genetics and where on a strand of DNA a mutation occurs. We all have oncogenes (which can allow a cell to become a tumor), and we all have tumor suppressor genes. A mutation which occurs in such a way to disable a tumor suppressor gene can lead to a cell developing characteristics of a tumor or a cancer cell.